Creates Random Forest model from Seurat Object's Idents

createRFModel(labelled.seurat.obj, nfeatures = 200)

Arguments

labelled.seurat.obj

Seurat Object where Idents are the labels for training. Typically cell type/cell state.

nfeatures

Number of most variable features to be used for training the Random Forest. Default 200.

Value

A list of two items, a Random Forest model and features used, to be used in predictCells()

Author

Kimberle Shen