This function computes the mean expression of each gene in each cluster
meanClusterExpression(seurat, genes = NULL)
seurat | Seurat object |
---|---|
genes | (Optional) Character vector specifying genes for which means
should be calculated. If any provided genes are not detected, they are
silently dropped. Default: all detected genes, i.e. |
A gene x cluster matrix, where each column contains the mean expression of each gene over all the cells in that cluster
#>#> 0 1 2 3 #> IL32 2.563624 0.5996828 2.6203414 0.3782335 #> CD2 1.239862 0.3811947 0.7697423 0.0000000