terminalSisters: Find Pairs of Sister Species

Description Usage Arguments Value Examples

View source: R/terminalSisters.R

Description

Finds pairs of sister species in a phylogenetic tree.

Usage

1

Arguments

phy

An object of class phylo.

labels

Logical, indicating whether to return tip labels or tip numbers.

Value

A list of which each element contains the tip labels of a sister species pair.

Examples

1
2
3
4
set.seed(1234)
tr <- rtree(12)
plot(tr)
terminalSisters(tr)

heibl/ips documentation built on Feb. 8, 2022, 4:31 p.m.