Description Usage Arguments Value Examples
A function to plot a (model-averaged) marginal ancestral reconstruction for the estimated diversification rates.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
processed_recon |
An object produced by |
show_tip_labels |
Logical, whether to plot tip labels. Default is FALSE because it is difficult to plot legible tip labels for larger trees common in this type of analysis. See |
parameter |
The diversification parameter to be mapped onto the tree. Possible options are turnover, extinct.frac, net.div, speciation, extinction |
discrete |
Logical. Whether to discretize the distribution of reconstructed rates into bins |
breaks |
A numeric vector of cut points for binning the rates. Passed internally to |
colors |
Colors for the branches. If |
plot_as_waiting_time |
Whether to plot the rates (FALSE, default) or their inverse (waiting times) |
tree_layout |
A layout for the tree. Available options are 'rectangular' (default), 'slanted', 'circular', 'fan' and 'radial'. |
tree_direction |
'right' (default), 'left', 'up', or 'down' for rectangular and slanted tree layouts |
time_axis_ticks |
numeric giving the number of ticks for the time axis (default=10) |
open_angle |
The degrees of empty space between the first and last tip. Only works for |
A plot of the phylogeny with branches colored by hisse-inferred marginal ancestral states.
1 2 3 4 5 6 7 8 9 10 | data("diatoms")
processed_muhisse <- m_process_recon(muhisse_recon=diatoms$muhisse_recon)
m_rate_recon(
processed_recon = processed_muhisse,
parameter = "extinction", discrete=FALSE)
m_rate_recon(
processed_recon = processed_muhisse,
parameter = "extinction", discrete=TRUE, breaks=c(0.3, 0.6, 1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.