calculate population-level cell type proportions from single-cell data

pop.ct.prop.scRNA(
scRNA,
cluster,
sample,
sep.group=F,
group=NULL
)

Arguments

scRNA

ExpressionSet object for single-cell data

cluster

character string specifying the variable name for cell types

sample

character string specifying the variable name for subject/samples

sep.group

logical. Whether to seperately calculate population-level cell type proportions by groups. The default is False.

group

character string specifying the variable name for group

Value

population-level cell type proportions