Description Usage Arguments Value
View source: R/simMK_budding.R
Plot the rate scalers used in the simulation to the phylogenetic tree. Also return a vector of colors to be used for visualization of the gradient paired with the breaking points for the rate scaler values.
Use 'low_cut' or 'high_cut' to focus the rate categories into the slow or fast rate categories. This can be used to provide a more informative plot of rates along the branches of the phylogeny.
1 | make_scaler_simmap(sims, ncat = 10, low_cut, high_cut)
|
sims |
the simulation object output from 'sim_Mk_budding_exp'. |
ncat |
number of categories to make the legend for the scalers plot. |
low_cut |
break for the first category (slow rate scalers). Rate scaler values above 'low_cut' value will be divided into 'ncat'-1 categories. |
high_cut |
break for the last category (fast rate scalers). Rate scaler values below 'high_cut' value will be divided into 'ncat'-1 categories. |
a list with a simmap object and a matrix with legend information
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.