Takes a Seurat Object and returns the Seurat Object with predicted cell types as Idents

predictCells(seuratObj, rfModel = mouseBrain)

Arguments

seuratObj

Seurat Object.

rfModel

Random Forest Object from randomForest package. In-built options include mouseBrain (default), mouseLiver, mouseKidney, mouseHeart, mouseMuscle, humanPBMC. You can also use your own Random Forest object created with createRFModel().

Value

Seurat Object with predicted cell types as Idents and stored under "predictedCellType" metadata

Author

Kimberle Shen