filter_tree: Filter tips in phylogenetic tree

View source: R/tree-based.R

filter_treeR Documentation

Filter tips in phylogenetic tree

Description

A quick way to keep certain tips in a tree and remove the others

Usage

filter_tree(tree, tip_labels)

Arguments

tree

The phylogenetic tree from load_tree.

tip_labels

The tip labels to retain.

Examples

## Not run: 
filter_tree(loaded_tree, taxa_to_keep)

## End(Not run)

leffj/mctoolsr documentation built on Aug. 5, 2022, 1:27 a.m.