plot_eco_alpha_zoomed: Plot ecological average mutational effects at different times

View source: R/plot_eco_alpha_zoomed.R

plot_eco_alpha_zoomedR Documentation

Plot ecological average mutational effects at different times

Description

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.

Usage

plot_eco_alpha_zoomed(root, root_init, add_rect = FALSE)

Arguments

root

Path to the simulation folder

root_init

Path to the initialization simulation folder, i.e. a simulation that is the equivalent of root, but simulated only for a few thousand generations and with a high recording resolution. This allows us to see what is happening in detail in the early steps.

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.

Details

The logic is the same as for plot_eco_trait_zoomed

Value

A ggplot

See Also

read_individuals, plot_eco_trait_zoomed


rscherrer/speciomer documentation built on March 11, 2023, 5:37 p.m.