Plots an Hermes-cleaned MS2 spectum (mz/int).

plotSS(struct, ms2id, ssnumber)

# S4 method for RHermesExp,numeric,numeric
plotSS(struct, ms2id, ssnumber)

Arguments

struct

An RHermesExp object

ms2id

Number of the MS2Exp object where the spectrum is

ssnumber

Number of the spectrum to plot

Value

A ggplot object

See also

Other plots: plotFidelity(), plotRawMS2(), plotSOI()

Author

Roger Gine

Examples

struct <- readRDS(system.file("extdata", "exampleObject.rds", package = "RHermes")) if(FALSE){plotSS(struct, 1, 1)}