Seurat (version 1.4.0)

BuildRFClassifier: Build Random Forest Classifier

Description

Train the random forest classifier

Usage

BuildRFClassifier(object, training.genes = NULL, training.classes = NULL,
  verbose = TRUE, ...)

Arguments

object

Seurat object on which to train the classifier

training.genes

Vector of genes to build the classifier on

training.classes

Vector of classes to build the classifier on

verbose

Additional progress print statements

...

additional parameters passed to ranger

Value

Returns a list with the random forest classifier object as the first element, the original classes as the second, and the classes used by the classifier as the third