music_S: Cell type specific library size

View source: R/construct.R

music_SR Documentation

Cell type specific library size

Description

This function is for calculating the cell type specific library size for selected cell types.

Usage

music_S(x, non.zero, clusters, samples, select.ct)

Arguments

x

SingleCellExperiment, single cell dataset

non.zero

logical, if true, remove all gene with zero expression

clusters

character, the colData used as clusters

samples

character,the colData used as samples

select.ct

vector of cell types included, default as NULL. If NULL, include all cell types in x

Value

subject by cell type matrix of library


xuranw/MuSiC documentation built on March 7, 2024, 11:45 a.m.