Description Usage Arguments Examples
Function generates boxplots for dauer data along with standard error generate from a glm fit.
1 | plot_dauer_SEs(df, title, plot.contrasts, plot.contrasts.2, ypos)
|
df |
input dataset. Requires a "genotype" column. Response needs to be "pct" for dauer plots. Also requires a "mixed" dataset, generated by either MM_CIs.R, Mm_CI_trans_Tukey.R or MM_CI_trans_dunnett.R |
title |
title for the plot |
plot.contrasts |
list of pairwise comparisons to plot. Usually generated by selecting a list of comparisons using tukey_contrasts or dunnett_contrasts functions which use the lsmeans package, ie plot.contrasts = c("",contrasts$prange[1:2]) for 2 comparisons to a control. |
plot.contrasts.2 |
list of secondary comparisons (ie rescue lines). These will be colored red and offset in the y direction indicated by offset. |
ypos |
y position of p value for plot.contrasts on the plot response scale |
1 | plot_dauer_SEs(df, title = "dauer plot", plot.contrasts = plot.contrasts, ypos = 1.075)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.