makeSubClassifier: Make Classifier tailored for subclassifier

View source: R/makeSubClassifier.R

makeSubClassifierR Documentation

Make Classifier tailored for subclassifier

Description

Create a random forest classifier with the transformed training data from query_transform.

Usage

makeSubClassifier(
  expTrain,
  genes,
  groups,
  nRand,
  ntrees = 2000,
  classMatrix_rand,
  pairTransformedMatrix,
  stratify = FALSE,
  sampsize = 40
)

Arguments

expTrain

transformed training data from query_transform

genes

vector of gene pairs from ptGetTop used as predictors

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

Value

Random Forest Classifier object for sub-classifier


pcahan1/cancerCellNet documentation built on July 16, 2022, 12:12 a.m.