Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

bestClusterThresholds

Find threshold of cluster detectability


Description

For a given clustering, walks the walktrap result tree to find a subtree with max(min(sens,spec)) for each cluster, where sens is sensitivity, spec is specificity

Usage

bestClusterThresholds(res, clusters, clmerges = NULL)

Arguments

res

walktrap result object (igraph)

clusters

cluster factor

clmerges

integer matrix of cluster merges (default=NULL). If NULL, the function treeJaccard() performs calculation without it.

Value

a list of $thresholds - per cluster optimal detectability values, and $node - internal node id (merge row) where the optimum was found


conos

Clustering on Network of Samples

v1.4.0
GPL-3
Authors
Viktor Petukhov [aut], Nikolas Barkas [aut], Peter Kharchenko [aut], Weiliang Qiu [ctb], Evan Biederstedt [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.