View source: R/subtyping_tools_CMS.R
compare_to_training_labels | R Documentation |
Compare the subtypeCMS.RF assigned nearest subtypes to the RF model (gold reference) training labels. This is only possible for datasets that are used within the reference set. Note: Currently only TCGA is implemented.
compare_to_training_labels(resRF, whichDataset = NULL)
resRF |
- output of subtypeCMS.RF |
whichDataset |
- currently only "TCGA" is a valid input |
table (data.frame) of subtypes, training labels and posterior probabilities for samples that do not have matching labels; also a message with the percentage of matching sample labels
mat = get_TCGA_synapse() resRF = subtypeCMS.RF(mat) compare_to_training_labels(resRF, whichDataset = 'TCGA')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.