safe.drop.tip: Drops specified tips from a phylogeny. Like ape's drop.tip(),...

Description Usage Arguments Value

View source: R/utility_functions.R

Description

Drops specified tips from a phylogeny. Like ape's drop.tip(), but it works when only a single tip is to be retained.

Usage

1
safe.drop.tip(phy, tip)

Arguments

phy

The tree, as an ape phylo object

tip

A vector of tip numbers to be removed.

Value

The reduced tree, as a phylo object


caseywdunn/hutan documentation built on June 12, 2020, 3:12 a.m.