Description Usage Arguments Details Value Examples
View source: R/PlotNetLogoData.R
This plot shows three dimensions of data: two experimental parameters (for instance, toxin concentration and diffusion rate) as axes, and the population average response errors as color gradient from light to dark purple. It is a snapshot of several experiments from a parameter sweep, at a single timepoint.
1 | response.error.heatmap(ends.df, xvar, yvar)
|
ends.df |
Dataframe of endpoint data, generated by extract.endpoint(). Must contain a mean.reponse.error column (use [summarize.endpoint()]) |
xvar |
Experimental parameter for plotting on x-axis. Must be a column name of ends.df, with no quotation marks. |
yvar |
Experimental parameter for plotting on y-axis. Must be a column name of ends.df, with no quotation marks. |
As with other endpoint-summary plots, this function can be used with data from any timepoint, as long as the ends.df dataframe contains data from only one timepoint per run number. For a function to create a heatmap with any variable you wish (instead of response error), see [phenoevo.heatmap()].
A ggplot object using geom_tile. This can be modified in the typical ggplot way by adding layers, scales, etc.
1 2 | data(PE.ends)
response.error.heatmap(PE.ends, toxin.conc, env.noise)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.