Description Usage Arguments Value Note Author(s) References See Also Examples
View source: R/BioGeoBEARS_stratified_v1.R
A utility function for stratified analysis. Sections the tree into a series of strata. Each stratum may have one or more subtrees (APE phylo3 objects, *WITH* root edges) and/or branch segments (which are just represented as numeric values, indicating the length of the sub-branch, i.e. the time-width of the stratum, if the branch crosses the whole stratum.
1 2 3 | section_the_tree(inputs, make_master_table = FALSE,
plot_pieces = TRUE, cut_fossils = TRUE,
fossils_older_than = 0.6)
|
inputs |
The list of inputs for stratified analysis |
make_master_table |
If desired, make an
|
plot_pieces |
If |
cut_fossils |
If |
fossils_older_than |
Tips that are older than
|
inputs
with inputs$tree_sections_list
added.
Go BEARS!
Nicholas J. Matzke matzke@berkeley.edu
http://phylo.wikidot.com/matzke-2013-international-biogeography-society-poster
Matzke_2012_IBS
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.