Returns gene expression for an 'average' single cell in each identity class
AverageExpression(object, genes.use = NULL, return.seurat = FALSE,
add.ident = NULL, use.scale = FALSE, use.raw = FALSE,
show.progress = TRUE, ...)
Seurat object
Genes to analyze. Default is all genes.
Whether to return the data as a Seurat object. Default is false.
Place an additional label on each cell prior to averaging (very useful if you want to observe cluster averages, separated by replicate, for example).
Use scaled values for gene expression
Use raw values for gene expression
Show progress bar (default is T)
Arguments to be passed to methods such as Seurat
Returns a matrix with genes as rows, identity classes as columns.
Output is in log-space, but averaging is done in non-log space.