getExpressionMatrix.Rd
Get expression matrix from Seurat Object
getExpressionMatrix(
so,
only.variable = F,
which.assay = NULL,
which.data = "scale",
use.additional.genes = NA,
as.dense = F
)
Seurat Object
Logical indicating whether to include variable features only or not.
Seurat assay to get data from. Default is DefaultAssay(so).
Specify which data to use (refers to slots in Seurat object assay). One of:
"scale" - Default
"data"
Character vector of additional genes to include (in addition to varibale, if variable flag is specificed). Default is NA.
Logical to convert sparse to dense matrix. Only applies if which.data is 'data'. Default is FALSE.
gene x cell expression matrix