Learn R Programming

BioGeoBEARS (version 0.2.1)

map_LG_MLsplits_to_tree: Take the table of ML splits and node number and map on tree (C++ LAGRANGE version)

Description

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

Usage

map_LG_MLsplits_to_tree(MLsplits_LGcpp, tr, tiprange_names, removechar = NULL, type = "C++")

Arguments

MLsplits_LGcpp
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)
removechar
The character to remove, if needed.
type
The type of LAGRANGE input (default C++)

Value

MLsplits_LGcpp 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