This function is for calculating the cross-subject mean of relative abundance for selected cell types.
music_M.theta(x, non.zero, markers, clusters, samples, select.ct)
SingleCellExperiment, single cell dataset
logical, if true, remove all gene with zero expression
vector or list of gene names
character, the phenoData used as clusters
character,the phenoData used as samples
vector of cell types included, default as NULL
. If NULL
, include all cell types in x
gene by cell type matrix of average relative abundance