Learn R Programming

BioGeoBEARS (version 0.2.1)

map_LGpy_MLsplits_to_tree: Take the table of ML splits and node number and map on tree (Python version)

Description

Given a table of splits probabilities from LGpy_splits_fn_to_table, map the splits on the tree.

Usage

map_LGpy_MLsplits_to_tree(MLsplits_LGpy, tr, tiprange_names)

Arguments

MLsplits_LGpy
A data.frame containing the node numbers, splits, and split probabilities.
tr
An ape phylo object
tiprange_names
The geographic ranges at the tips (i.e. the input data)

Value

MLsplits_LGpy A data.frame containing the node numbers, ML splits, and split probabilities; reordered for this plot

Details

See get_lagrange_nodenums for connecting these node numbers to APE node numbers.

References

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

Matzke_2012_IBS

ReeSmith2008

See Also

get_lagrange_nodenums, LGpy_splits_fn_to_table, LGcpp_splits_fn_to_table

Examples

Run this code
test=1

Run the code above in your browser using DataLab