bestClusterTreeThresholds | R Documentation |
For a given clustering, walks the walktrap (of clusters) result tree to find a subtree with max(min(sens,spec)) for each cluster, where sens is sensitivity, spec is specificity
bestClusterTreeThresholds(res, leaf.factor, clusters, clmerges = NULL)
res |
walktrap result object (igraph) where the nodes were clusters |
leaf.factor |
a named factor describing cell assignments to the leaf nodes (in the same order as res$names) |
clusters |
cluster factor |
clmerges |
integer matrix of cluster merges (default=NULL). If NULL, the function treeJaccard() performs calculation without it. |
a list of $thresholds - per cluster optimal detectability values, and $node - internal node id (merge row) where the optimum was found
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.