View source: R/Phemd-methods.R
celltypeFreqs | R Documentation |
Accessor function for cell subtype distribution for each sample
celltypeFreqs(obj)
obj |
Phemd object |
Matrix representing cell subtype relative frequencies for each sample (num_samples x num_genes)
phemdObj <- createDataObj(all_expn_data, all_genes, as.character(snames_data))
celltype_weights <- celltypeFreqs(phemdObj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.