sc_makeClassifier: Make Classifier

Description Usage Arguments Value

View source: R/scn_train.R

Description

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

Usage

1
2
sc_makeClassifier(expTrain, genes, groups, nRand = 70, ntrees = 2000,
  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

stratify

whether to use stratified sampling or not

samplesize

the samplesize for straified sampling

Value

Random Forest Classifier object


pcahan1/singleCellNet documentation built on April 9, 2021, 8:49 a.m.