$for(css)$ $endfor$

Scale Single Cell Data According to Average Cell Type Profiles

cpm_cell_type(x, clusters, samples)

Arguments

x
matrix of raw counts
clusters
vector giving the cell type of each cell (i.e. column) in the data x. If x is an ExpressionSet object, it can also be the name (as a string) of the phenotypic variable to use.
samples
vector giving the sample of origin of each cell (i.e. column) in the data x. If x is an ExpressionSet object, it can also be the name (as a string) of the phenotypic variable to use.