View source: R/subtyping_tools_CMS.R
subtypeCMS.RF | R Documentation |
Applying the random forest classifier of the CMS consortium (CMSclassifier::classifyCMS.RF) Installing the CMS classifier: "library(devtools); install_github("Sage-Bionetworks/CMSclassifier")"
subtypeCMS.RF(mat)
mat |
- the matrix to be subtyped, genes by samples, genes are typically represented as gene symbols |
- table of subtype information, columns are predicted CMS, nearest CMS and posterior probabilities of CMS assignment; rownames are samples
mat = get_TCGA_synapse() res = subtypeCMS.RF(mat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.