例如,对于Joe的区域X,我希望输出"summarize()“行显示不在Joe的X中的所有基因(即Joe的基因C、D、E)的表达式的平均值。df %>% group_by(region, cell_line) %>%
summarize(mean_other = mean(expression of cell lines not in
我正在尝试让dplyr的summarize_all()与approx()一起工作。()包装它,它产生了我想要的东西,但只为一列: a = list(approx(x = height, y =summarize_all(df, funs(length(.)))# height a b
# <int> <int> <int># 1 3