trainDataProc | R Documentation |
trainDataProc Data preprocessing
trainDataProc(Xmat, Yvec, subtype = 1, ptail = 0.01, breakVec = c(0, 0.25, 0.5, 0.75, 1))
Xmat |
Matrix of gene expression, samples in columns, genes in rows |
Yvec |
Vector of phenotype, strings, 1, 2, etc |
subtype |
cluster name, string '1', as in Yvec |
ptail |
Binary phenotype vector. |
breakVec |
vector of break points, used to bin expression data |
testRes |
List of previously calculated test results, from testFun(.) |
List of Xbin and Ybin, the binned, subset, and binarized values.
mod1 <- trainDataProc(Xmat, Yvec, ptail, cluster, breakVec==c(0, 0.25, 0.5, 0.75, 0.85, 1.0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.