pruning: Prune a phylogetic tree

View source: R/misc.R

pruningR Documentation

Prune a phylogetic tree

Description

Returns t1 with only the tips that are in t2 too. Optionally reroot t1.

Usage

pruning(t1, t2, reroot=NULL)

Arguments

t1

The tree to be prunned (phylo object.

t2

The base tree (phylo object.)

reroot

Optional. The node that should represent the new root of t2

Value

A phylo object representing the prunned tree.

Author(s)

Diego Pasqualin dpasqualin@inf.ufpr.br


dpasqualin/sfreemap documentation built on July 5, 2023, 10:52 a.m.