This function creates a shot noise plot using a shotnoise
data frame created by the orbi_analyze_shot_noise()
function.
Arguments
- shotnoise
a
shotnoise
data frame- x
x-axis for the shot noise plot, either "time.min" or "n_effective_ions"
- permil_target
highlight the target permil in the shotnoise plot
- color
which column to use for the color aesthetic (must be a factor)
- colors
which colors to use, by default a color-blind friendly color palettes (RColorBrewer, dark2)