Description Usage Arguments Details Value Note Author(s) References See Also Examples
View source: R/BioGeoBEARS_plots_v1.R
This function makes pie charts for plotting ranges on
corners. It makes use of ape:::floating.pie.asp
to plot the pie charts on the corners.
1 2 | cornerpies(pievals, coords, piecol, adj = c(0.5, 0.5),
...)
|
pievals |
The matrix (numnodes x numstates) of probabilities to plot. |
coords |
The coordinates at which to plot the labels. |
piecol |
The color for each possible state. |
adj |
Position adjustment; default
|
... |
Additional arguments to standard functions |
To get the corner coordinates, use
corner_coords
. Please note the special
input required in that function to get it to access a
corner-coordinates function in the extensions data
(extdata
) directory.
nothing
Go BEARS!
Nicholas J. Matzke matzke@berkeley.edu
http://phylo.wikidot.com/matzke-2013-international-biogeography-society-poster https://code.google.com/p/lagrange/
Matzke_2012_IBS
ReeSmith2008
cornerlabels
, corner_coords
,
get_lagrange_nodenums
,
LGpy_splits_fn_to_table
,
LGcpp_splits_fn_to_table
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.