depthBasedCladewiseTreeCluster: Performs a breadth first search to create a specific number...

View source: R/Microclusters.R

depthBasedCladewiseTreeClusterR Documentation

Performs a breadth first search to create a specific number of clusters. Clusters are split based on depth.

Description

Performs a breadth first search to create a specific number of clusters. Clusters are split based on depth.

Usage

depthBasedCladewiseTreeCluster(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.