meanGeneExpression: meanGeneExpression

Description Usage Arguments Value Author(s) Examples

View source: R/summarise.R

Description

Calculate, for each cell, the mean expression of the given set of marker genes.

Usage

1
meanGeneExpression(seurat, genes)

Arguments

seurat

Seurat object

genes

String or character vector specifying gene(s) to use

Value

Data frame with two columns: "Cell" which specifies the cell ID obtained from colnames(seurat@data), and "Mean_marker_expression" which is the expression value for the marker gene, or mean if multiple genes were provided.

Author(s)

Selin Jessa

Examples

1
meanGeneExpression(pbmc, genes = c("IL32", "MS4A1"))

fungenomics/cytobox documentation built on Feb. 13, 2020, 10:51 a.m.