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

View source: R/Microclusters.R

maxSizeCladewiseTreeClusterR Documentation

Performs a breadth first search to create a specific number of clusters Clusters are split to prioritize max cluster size

Description

Performs a breadth first search to create a specific number of clusters Clusters are split to prioritize max cluster size

Usage

maxSizeCladewiseTreeCluster(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 tips representing samples in the cluster.


YosefLab/FastProjectR documentation built on June 13, 2024, 4:20 p.m.