Description Usage Arguments Value Examples
plot time-to-resistance for 'windows of selection' following simulation run
1 2 3 4 5 |
dfsim |
data on concentration and time-to-resistance output from simulation run from wos_sim() |
x |
name of column of x data |
y |
name of column of y data |
shape |
name of column to determine shape of symbols |
ylab |
label of column of y data for plot |
xlab |
label of column of x data for plot |
xtxt |
whether to number x axis |
title |
title for ggplot |
plot |
whether to plot |
xreverse |
whether to reverse x axis for declining concentration |
xlog |
whether to log x axis |
ylog |
whether to log y axis |
addgrid |
DOESN'T WORK whether to add grid |
no_sr |
option for dealing with data with no SR heteroxzygotes plots dominance 0&1 with diff symbols |
ggplot object
1 2 | dfsim <- wos_diagram(sim=TRUE, conc_n=10, rr_cost=0, plot=FALSE)
wos_plot_sim(dfsim)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.