View source: R/makeSubClassifier.R
makeSubClassifier | R Documentation |
Create a random forest classifier with the transformed training data from query_transform
.
makeSubClassifier( expTrain, genes, groups, nRand, ntrees = 2000, classMatrix_rand, pairTransformedMatrix, stratify = FALSE, sampsize = 40 )
expTrain |
transformed training data from |
genes |
vector of gene pairs from |
groups |
named vector of cells to cancer categories |
nRand |
number of randomized profiles to make |
ntrees |
number of trees to build |
classMatrix_rand |
the broad classification for the random category |
pairTransformedMatrix |
the pairtransformed matrix of the samples |
stratify |
TRUE for stratified sampling |
sampsize |
the stratified sample size for each category |
Random Forest Classifier object for sub-classifier
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.