Description Usage Arguments Details Value Examples
View source: R/PlotNetLogoData.R
Generates a heatmap displaying how the genotypic switch rate changes over the course of a Pheno-Evo experiment. Time is displayed on the x-axis, the range of possible switch rate 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.
1 | switch.rate.timecourse(NLdata, runnum)
|
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. |
#' See also [degrade.rate.timecourse()] and [response.error.timecourse()].
A ggplot object using geom_tile. This can be modified in the typical ggplot way by adding layers, scales, etc.
1 2 | data(PhenoEvoData_4)
switch.rate.timecourse(PhenoEvoData_run4, 4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.