Learn R Programming

BioGeoBEARS (version 0.2.1)

order_tipranges_by_tr: Order the tipranges in a tipranges object so they match the order of tips in a tree

Description

Utility function. What it says. Life can get very confusing if you don't do this before plotting.

Usage

order_tipranges_by_tr(tipranges, tr)

Arguments

tipranges
A tipranges object.
tr
An ape tree object.

Value

tipranges The reordered data.frame

References

http://phylo.wikidot.com/matzke-2013-international-biogeography-society-poster https://code.google.com/p/lagrange/

Matzke_2012_IBS

See Also

unlist

Examples

Run this code
test=1

Run the code above in your browser using DataLab