This function is for calculating the cell type specific library size for selected cell types.
music_Design.matrix(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 colData used as clusters
character,the colData used as samples
vector of cell types included, default as NULL
. If NULL
, include all cell types in x
subject by cell type matrix of library