-
Hi Matthijs (or anyone else who can answer my question) On the website the MIC plots display quite nicely - white background, black around the bars etc, Should I need additional ggplot coding to achieve the same output as what's displayed on the instructions? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Dear @theanita1, There is no additional code required, since the website uses exactly the code that precede the plots (that should at least be the case...). So, for example: my_mics <- random_mic(100)
ggplot2::autoplot(my_mics,
mo = "Escherichia coli",
ab = "ampicillin",
guideline = "EUCAST 2021") Can you reproduce this? Which plots are you referring to from the website? |
Beta Was this translation helpful? Give feedback.
Ahhh, but that's not ggplot 😉 That's base R.
I wrote something to get to similar results in ggplot for you:
Or you could create your own function to reduce code: