plot_outcome_full: Plot a full simulation outcome

View source: R/plot_outcome_full.R

plot_outcome_fullR Documentation

Plot a full simulation outcome

Description

Plots trait density plots through time as well as locus-specific allele frequencies, Fst, Qst, Cst and average mutational effects through time, and histograms showing the distributions of these variables at the last generation. Variables are shown throughout the whole simulation.

Usage

plot_outcome_full(root, approx = NULL)

Arguments

root

Path to the simulation folder

approx

Path to pass to add_approx. Leave NULL for no overlay approximation plot.

Details

Wrapper around plot_outcome_core

Value

A patchwork

Note

Locus-specific average mutational effects are subsampled every 1,000 generations to avoid crowding the plots.

See Also

plot_outcome_core

Examples


## Not run: 

root <- system.file("extdata", "sim-example", package = "speciomer")
plot_outcome_full(root)


## End(Not run)


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