music_Sigma: Cross-subject Varirance of Relative Abundance

View source: R/construct.R

music_SigmaR Documentation

Cross-subject Varirance of Relative Abundance

Description

This function is for calculating the cross-subject variance of relative abundance for selected cell types.

Usage

music_Sigma(x, non.zero, markers, clusters, samples, select.ct)

Arguments

x

ExpressionSet, single cell dataset

non.zero

logical, if true, remove all gene with zero expression

markers

vector or list of gene names

clusters

character, the phenoData used as clusters

samples

character,the phenoData used as samples

select.ct

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

Value

gene by cell type matrix of variance


nkoneill/mMuSiC documentation built on Oct. 25, 2023, 2:39 a.m.