Name: CMSclassifier
Owner: Sage Bionetworks
Description: null
Created: 2015-10-05 22:23:50.0
Updated: 2017-12-10 22:07:57.0
Pushed: 2016-05-16 22:05:07.0
Homepage: null
Size: 345
Language: R
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
An R package and an example data set are provided to run the CMSclassifier.
To install the CMSclassifier, install from github using devtools:
ary(devtools)
all_github("Sage-Bionetworks/CMSclassifier")
To run the demo below, you will need a Synapse account and the Synapse R client installed:
ce('http://depot.sagebase.org/CRAN.R')
nstall("synapseClient")
Both classifiers (Random forest and single sample) expect data formatted according to the example data set provided:
ary(synapseClient)
ary(CMSclassifier)
pseLogin()
leData <- read.table(synGet("syn4983432")@filePath, sep="\t",header = TRUE,row.names = 1,check.names=FALSE)
s <- CMSclassifier::classifyCMS(t(sampleData),method="RF")[[3]]
s <- CMSclassifier::classifyCMS(t(sampleData),method="SSP")[[3]]