main <spanclass='op'>=</span><spanclass='fu'><ahref='https://rdrr.io/r/base/paste.html'>paste</a></span><spanclass='op'>(</span><spanclass='st'>"MIC values of"</span>, <spanclass='fu'><ahref='https://rdrr.io/r/base/deparse.html'>deparse</a></span><spanclass='op'>(</span><spanclass='fu'><ahref='https://rdrr.io/r/base/substitute.html'>substitute</a></span><spanclass='op'>(</span><spanclass='va'>x</span><spanclass='op'>)</span><spanclass='op'>)</span><spanclass='op'>)</span>,
title <spanclass='op'>=</span><spanclass='fu'><ahref='https://rdrr.io/r/base/paste.html'>paste</a></span><spanclass='op'>(</span><spanclass='st'>"MIC values of"</span>, <spanclass='fu'><ahref='https://rdrr.io/r/base/deparse.html'>deparse</a></span><spanclass='op'>(</span><spanclass='fu'><ahref='https://rdrr.io/r/base/substitute.html'>substitute</a></span><spanclass='op'>(</span><spanclass='va'>data</span><spanclass='op'>)</span><spanclass='op'>)</span><spanclass='op'>)</span>,
main <spanclass='op'>=</span><spanclass='fu'><ahref='https://rdrr.io/r/base/paste.html'>paste</a></span><spanclass='op'>(</span><spanclass='st'>"Disk zones values of"</span>, <spanclass='fu'><ahref='https://rdrr.io/r/base/deparse.html'>deparse</a></span><spanclass='op'>(</span><spanclass='fu'><ahref='https://rdrr.io/r/base/substitute.html'>substitute</a></span><spanclass='op'>(</span><spanclass='va'>x</span><spanclass='op'>)</span><spanclass='op'>)</span><spanclass='op'>)</span>,
title <spanclass='op'>=</span><spanclass='fu'><ahref='https://rdrr.io/r/base/paste.html'>paste</a></span><spanclass='op'>(</span><spanclass='st'>"Disk zones values of"</span>, <spanclass='fu'><ahref='https://rdrr.io/r/base/deparse.html'>deparse</a></span><spanclass='op'>(</span><spanclass='fu'><ahref='https://rdrr.io/r/base/substitute.html'>substitute</a></span><spanclass='op'>(</span><spanclass='va'>data</span><spanclass='op'>)</span><spanclass='op'>)</span><spanclass='op'>)</span>,
main <spanclass='op'>=</span><spanclass='fu'><ahref='https://rdrr.io/r/base/paste.html'>paste</a></span><spanclass='op'>(</span><spanclass='st'>"Resistance Overview of"</span>, <spanclass='fu'><ahref='https://rdrr.io/r/base/deparse.html'>deparse</a></span><spanclass='op'>(</span><spanclass='fu'><ahref='https://rdrr.io/r/base/substitute.html'>substitute</a></span><spanclass='op'>(</span><spanclass='va'>x</span><spanclass='op'>)</span><spanclass='op'>)</span><spanclass='op'>)</span>,
<td><p>MIC values created with <code><ahref='as.mic.html'>as.mic()</a></code> or disk diffusion values created with <code><ahref='as.disk.html'>as.disk()</a></code></p></td>
<td><p>colours to use for filling in the bars, must be a vector of three values (in the order R, S and I). The default colours are colour-blind friendly.</p></td>
<td><p>logical to indicate whether the range on the x axis should be expanded between the lowest and highest value. For MIC values, intermediate values will be factors of 2 starting from the highest MIC value. For disk diameters, the whole diameter range will be filled.</p></td>
<p>The <code>ggplot</code> functions return a <code><ahref='https://ggplot2.tidyverse.org/reference/ggplot.html'>ggplot</a></code> model that is extendible with any <code>ggplot2</code> function.</p>
<p>The interpretation of "I" will be named "Increased exposure" for all EUCAST guidelines since 2019, and will be named "Intermediate" in all other cases.</p>
<p>For interpreting MIC values as well as disk diffusion diameters, supported guidelines to be used as input for the <code>guideline</code> argument are: "EUCAST 2021", "EUCAST 2020", "EUCAST 2019", "EUCAST 2018", "EUCAST 2017", "EUCAST 2016", "EUCAST 2015", "EUCAST 2014", "EUCAST 2013", "EUCAST 2012", "EUCAST 2011", "CLSI 2019", "CLSI 2018", "CLSI 2017", "CLSI 2016", "CLSI 2015", "CLSI 2014", "CLSI 2013", "CLSI 2012", "CLSI 2011" and "CLSI 2010".</p>
The <ahref='lifecycle.html'>lifecycle</a> of this function is <strong>stable</strong>. In a stable function, major changes are unlikely. This means that the unlying code will generally evolve by adding new arguments; removing arguments or changing the meaning of existing arguments will be avoided.</p>
<p>If the unlying code needs breaking changes, they will occur gradually. For example, a argument will be deprecated and first continue to work, but will emit an message informing you of the change. Next, typically after at least one newly released version on CRAN, the message will be transformed to an error.</p>
<p>On our website <ahref='https://msberends.github.io/AMR/'>https://msberends.github.io/AMR/</a> you can find <ahref='https://msberends.github.io/AMR/articles/AMR.html'>a comprehensive tutorial</a> about how to conduct AMR data analysis, the <ahref='https://msberends.github.io/AMR/reference/'>complete documentation of all functions</a> and <ahref='https://msberends.github.io/AMR/articles/WHONET.html'>an example analysis using WHONET data</a>. As we would like to better understand the backgrounds and needs of our users, please <ahref='https://msberends.github.io/AMR/survey.html'>participate in our survey</a>!</p>
<spanclass='va'>some_disk_values</span><spanclass='op'><-</span><spanclass='fu'><ahref='random.html'>random_disk</a></span><spanclass='op'>(</span>size <spanclass='op'>=</span><spanclass='fl'>100</span>, mo <spanclass='op'>=</span><spanclass='st'>"Escherichia coli"</span>, ab <spanclass='op'>=</span><spanclass='st'>"cipro"</span><spanclass='op'>)</span>
<spanclass='co'># when providing the microorganism and antibiotic, colours will show interpretations:</span>
<spanclass='fu'>plot</span><spanclass='op'>(</span><spanclass='va'>some_mic_values</span>, mo <spanclass='op'>=</span><spanclass='st'>"S. aureus"</span>, ab <spanclass='op'>=</span><spanclass='st'>"ampicillin"</span><spanclass='op'>)</span>
<spanclass='fu'>plot</span><spanclass='op'>(</span><spanclass='va'>some_disk_values</span>, mo <spanclass='op'>=</span><spanclass='st'>"Escherichia coli"</span>, ab <spanclass='op'>=</span><spanclass='st'>"cipro"</span><spanclass='op'>)</span>
<spanclass='fu'><ahref='https://ggplot2.tidyverse.org/reference/ggplot.html'>ggplot</a></span><spanclass='op'>(</span><spanclass='va'>some_disk_values</span>, mo <spanclass='op'>=</span><spanclass='st'>"Escherichia coli"</span>, ab <spanclass='op'>=</span><spanclass='st'>"cipro"</span><spanclass='op'>)</span>
<p>Developed by <ahref='https://www.rug.nl/staff/m.s.berends/'>Matthijs S. Berends</a>, <ahref='https://www.rug.nl/staff/c.f.luz/'>Christian F. Luz</a>, <ahref='https://www.rug.nl/staff/a.w.friedrich/'>Alexander W. Friedrich</a>, <ahref='https://www.rug.nl/staff/b.sinha/'>Bhanu N. M. Sinha</a>, <ahref='https://www.rug.nl/staff/c.j.albers/'>Casper J. Albers</a>, <ahref='https://www.rug.nl/staff/c.glasner/'>Corinna Glasner</a>.</p>