prune-hierarchy could take sample metadata and feature data as inputs and prune trees based on the prevalence of features in the various categories of a metadata column. Alternatively, pruning could be done independent of sample metadata based on the top x% most abundant features across the dataset.
prune-hierarchy
could take sample metadata and feature data as inputs and prune trees based on the prevalence of features in the various categories of a metadata column. Alternatively, pruning could be done independent of sample metadata based on the top x% most abundant features across the dataset.