Skip to contents

This function also stores the mouse attribute names (not experiment attributes) as columns that will be used as categorical variables to make analysis subgroups. The values of these attributes (group, drug, age) will automatically be converted to a string values for consistency.

Usage

combine_cell_counts(e, by)

Arguments

e

experiment object

by

(str) names of the experiment attributes (categorical variables) that will be used to create analysis subgroups.

Examples

e <- combine_cell_counts(e, by = c('groups', 'sex'))
#> Error in combine_cell_counts(e, by = c("groups", "sex")): object 'e' not found