powered by
Utility function to make reference gene expression profiles
aggregate_counts(count_mat, annot, normalized = TRUE, verbose = TRUE)
matrix Reference gene expression levels
matrix/dgCMatrix Gene expression counts
dataframe Cell annotation with columns "cell" and "group"
logical Whether to return normalized expression values
logical Verbosity
ref_custom = aggregate_counts(count_mat_ref, annot_ref, verbose = FALSE)
Run the code above in your browser using DataLab