allocateCellsForest: Allocate cells based on trained randomForest.

Description Usage Arguments Value Author(s) References See Also

View source: R/function_allocateCellsForest.R

Description

For each cell, it allocates it to its most likely cluster it belongs to from the trained random Forest.

Usage

1
allocateCellsForest(newData, RForestObj, genesTrained)

Arguments

newData

Dataframe or matrix containing the counts (genes x cells). These should be from the cells you want to predict the cluster of.

RForestObj

randomForest object already trained. To train a dataset, you can use trainForest.

genesTrained

vector of the genes that were used to train the randomForest.

Value

dataframe with predicted allocations and probabilities.

Author(s)

Blanca Pijuan Sala.

References

randomForest.

See Also

randomForest, trainForest.


BPijuanSala/anSeq documentation built on Oct. 10, 2018, 7:20 p.m.