Description Usage Arguments Details Value Note Author(s) References See Also Examples
View source: R/BioGeoBEARS_generics_v1.R
When you have a digitized tree, or other slightly uneven source tree, average the tips to get them all to line up at 0 my before present. This makes an ultrametric tree if and only if there are no fossil tips in the tree.
1 | average_tr_tips(tr, fossils_older_than = 0.6)
|
tr |
An ape phylo object |
fossils_older_than |
Tips that are older than
|
If the user includes fossils accidentally, this function can easily lead to pathological results (negative branch lengths etc.), so use with care!!
edge_times_bp
A 2-column matrix with the age (from
the present) of the top and bottom of each edge.
Go BEARS!
Nicholas J. Matzke matzke@berkeley.edu
http://phylo.wikidot.com/matzke-2013-international-biogeography-society-poster
Matzke_2012_IBS
prt
, chainsaw2
,
extend_tips_to_ultrametricize
1 | test=1
|
Loading required package: rexpokit
Loading required package: SparseM
Attaching package: 'SparseM'
The following object is masked from 'package:base':
backsolve
Loading required package: Rcpp
Loading required package: cladoRcpp
Loading required package: ape
Loading required package: phylobase
Attaching package: 'phylobase'
The following object is masked from 'package:ape':
edges
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.