Description Usage Arguments Value Author(s) References See Also
Cluster cells using the spearman rank correlation as a similarity metric and (1-correlation)/2 as a distance metric.
1 | trainForest(data, groups, numTrees = 1000, rankData = T)
|
data |
Dataframe or matrix containing the counts (genes x cells). It is recommended to use only the HVG for this. |
groups |
Vector specifying which group each cell belongs to. Cells should be as names and group ID as vector content. |
numTrees |
Number of trees to grow in randomForest. Default: 1000. Cells should be as names and group ID as vector content. |
rankData |
Logical. Rank data before training based on counts? Default: TRUE |
list with randomForest object (RForest) and a vector of the final genes used for training.
Blanca Pijuan Sala.
randomForest
.
randomForest
,
allocateCellsForest
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.