response.error.timecourse: Plot population distribution of response.error over time

Description Usage Arguments Details Value Examples

View source: R/PlotNetLogoData.R

Description

Generates a heatmap displaying how the genotypic response error changes over the course of a Pheno-Evo experiment. Time is displayed on the x-axis, the range of possible response error values on the y-axis, and relative abundance given by color. To reduce plot size and complexity, if the input dataframe contains more than 1,000 timepoints, only every 10th timepoint is plotted.

Usage

1
response.error.timecourse(NLdata, runnum)

Arguments

NLdata

The full dataframe containing data from all BehaviorSpace experiments at all timepoints, imported from NetLogo.

runnum

The run number of the experiment of interest.

Details

See also [switch.rate.timecourse()] and [degrade.rate.timecourse()].

Value

A ggplot object using geom_tile. This can be modified in the typical ggplot way by adding layers, scales, etc.

Examples

1
2

jessicaaudreylee/PhenoEvoR documentation built on Sept. 7, 2020, 3:50 a.m.