predictCells: Takes a Seurat Object and returns the Seurat Object with...

Description Usage Arguments Value Author(s)

View source: R/predictCells.R

Description

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

Usage

1
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(s)

Kimberle Shen


kimberle9/rfca documentation built on Oct. 8, 2020, 5:44 a.m.