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)


wschen/phemd documentation built on Oct. 1, 2024, 4:45 a.m.