celltypeFreqs: Accessor function for cell subtype distribution for each...

View source: R/Phemd-methods.R

celltypeFreqsR Documentation

Accessor function for cell subtype distribution for each sample

Description

Accessor function for cell subtype distribution for each sample

Usage

celltypeFreqs(obj)

Arguments

obj

Phemd object

Value

Matrix representing cell subtype relative frequencies for each sample (num_samples x num_genes)

Examples

phemdObj <- createDataObj(all_expn_data, all_genes, as.character(snames_data))
celltype_weights <- celltypeFreqs(phemdObj)


KrishnaswamyLab/phemd documentation built on Oct. 2, 2024, 5:10 a.m.