Takes an experiment with a set of boxcar spectra and plots them as a single spectrum, colouring the peaks based on their origin. See the MSnbaseBoxCar vignette for example code.
bc_plot(x) bc_plotly(x)
x | An |
---|
Used for its side effects. Invisibly returns a ggplot
or
plotly
object.