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/FastProjectR documentation built on June 13, 2024, 4:20 p.m.