depthBasedTreeCluster: Performs a binary search on a depth d such that if...

View source: R/Microclusters.R

depthBasedTreeClusterR 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

Description

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

Usage

depthBasedTreeCluster(tree, target = 10)

Arguments

tree

object of class phylo

target

number of clusters to attempt to generate

Value

List of clusters, each entry being a vector of indices representing samples in the cluster.


YosefLab/VISION documentation built on June 14, 2024, 5:27 p.m.