View source: R/plot_eco_alpha_zoomed.R
plot_eco_alpha_zoomed | R Documentation |
Plots three portions of the plot of average mutational effects per locus and through time, for ecological loci only: over the full simulation time span, at the very start and around branching time.
plot_eco_alpha_zoomed(root, root_init, add_rect = FALSE)
root |
Path to the simulation folder |
root_init |
Path to the initialization simulation folder, i.e. a
simulation that is the equivalent of |
add_rect |
Whether to add a shading rectangle on the left facet to indicate what part of the plot is zoomed in, in the right facet. |
The logic is the same as for plot_eco_trait_zoomed
A ggplot
read_individuals
, plot_eco_trait_zoomed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.