fetch.descendants: Fetch descendant lineages in a symmetric tree

Description Usage Arguments Value Examples

View source: R/attachment.times.R

Description

Fetch descendant lineages in a symmetric tree

Usage

1
fetch.descendants(edge, tree, return.edge.labels = F)

Arguments

edge

Edge label.

tree

Phylo object.

return.edge.labels

If TRUE return all descendant edge labels instead of tips.

Value

Vector of symmetric descendants

Examples

1
2
3
t = ape::rtree(6)
fetch.descendants(7,t)
fetch.descendants(7,t,return.edge.labels=TRUE)

rachelwarnock/fbdR documentation built on Aug. 23, 2019, 3:39 a.m.