dot-prune_tree: Prune Phylogenetic Tree For Leave-One-Out Analysis

.prune_treeR Documentation

Prune Phylogenetic Tree For Leave-One-Out Analysis

Description

Removes species from a phylogenetic tree that are not present in the current data subset during leave-one-out analysis.

Usage

.prune_tree(tree, species_names)

Arguments

tree

A phylogenetic tree object of class "phylo".

species_names

A vector of species names that should remain in the pruned tree. These are the species present in the current data subset.

Value

A pruned phylogenetic tree containing only the tips for species in species_names.

Author(s)

Daniel Noble - daniel.noble@anu.edu.au

Facundo Decunta - fdecunta@agro.uba.ar


daniel1noble/orchaRd documentation built on April 17, 2025, 3:59 a.m.