Description Usage Arguments Details Value Note Author(s) References See Also Examples
View source: R/BioGeoBEARS_readwrite_v1.R
This is the utility function for
get_lagrange_nodenums
, which traces a tree
down and up in C++ LAGRANGE's downpass order.
1 2 | add_to_downpass_labels(tr, downpass_node_matrix,
currnode)
|
tr |
A |
downpass_node_matrix |
A matrix ( |
currnode |
The current node being viewed |
This returns a matrix containing (column 1) R's native
internal numbering scheme, and (column 2) the node
numbers in a LAGRANGE downpass. Note that this is
different from LAGRANGE
's downpass ordering (see
get_lagrange_nodenums
).
downpass_node_matrix
A matrix containing node
numbers.
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.