runTestsMods | R Documentation |
Adds statistical tests results to the output of K2tax() based on numeric and factor variables in info.
runTestsMods(K2res, infoClass = NULL)
K2res |
An object of class K2. The output of K2tax(). |
infoClass |
A named vector denoted types of tests to run on phenotypic variables (See K2preproc()). |
An object of class K2.
## Read in ExpressionSet object
library(Biobase)
data(sample.ExpressionSet)
## Pre-process and create K2 object
K2res <- K2preproc(sample.ExpressionSet)
## Run K2 Taxonomer algorithm
K2res <- K2tax(K2res,
stabThresh=0.5)
infoClassVector <- c(sex='factor', score='numeric1')
runTestsMods(K2res, infoClass=infoClassVector)
head(getTestsModTable(K2res))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.