bestGrouping | R Documentation |
The function is using a randomForest classifier with 2000 trees to classify the given data using the given grooping
All groups that fail to be prediceted using the random forest are deemed ungrouped.
All groups where less than 50 percent of the total samples geting classified as being from that group fail.
bestGrouping(x, group, bestColname = "QualifiedGrouping", cutoff = 0.5)
x |
the single cells ngs object |
group |
a vector of sample columns that should be checked (the most complex is used only) |
bestColname |
the column name to store the best grouping in |
cutoff |
the cutoff percentage where all groups showing less than this percentacge of remapped samples are dropped |
a distRF object to be analyzed by pamNew
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.