Sage-Bionetworks/CMSclassifier

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

CMSclassifier

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]]

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.