summarize_groups.Rd
Summarize data over groups
# S3 method for BrainSpanMap summarize_groups(object, groups = NULL, fun = colMeans) summarize_groups(object, ...) # S3 method for MousebrainMap summarize_groups(object, groups = NULL, fun = colMeans) # S3 method for ReferenceMap summarize_groups(object, summarize = "query", groups = NULL, fun = colMeans) # S3 method for VoxelMap summarize_groups(object, groups = NULL, fun = colMeans)
groups | A metadata column or character vector to group the cells, e.g. clusters, cell types. |
---|---|
fun | Function used to aggregate the groups. |
summarize | A character vector indicating whether to summarize the query (`'query'`) or the reference (`'reference'`) cells. |
A tibble with group summaries
A tibble with group summaries
A tibble with group summaries
A tibble with group summaries