View source: R/Microclusters.R
depthBasedTreeCluster | R Documentation |
Performs a binary search on a depth d such that if depth(LCA(u, v)) <= d then u and v are in the same cluster
depthBasedTreeCluster(tree, target = 10)
tree |
object of class phylo |
target |
number of clusters to attempt to generate |
List of clusters, each entry being a vector of indices representing samples in the cluster.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.