Plots the selected SOI isotopic profile and a comparison with its theoretical abundances calculated from the molecular formula.
plotFidelity(struct, id, entry, plot = TRUE) # S4 method for RHermesExp,numeric,numeric plotFidelity(struct, id, entry, plot = TRUE)
| struct | An RHermesExp object. |
|---|---|
| id | Number of the SOI to plot. |
| entry | The SOI entry to check. |
| plot | Default to TRUE. The parameter is used for consistency with the function internal use in filterSOI(). If set to FALSE, returns some statistics about the isotopic fidelity. |
An interactive plot_ly object. If plot set to FALSE, returns a list of isotopic fidelity metrics.
Other plots:
plotRawMS2(),
plotSOI(),
plotSS()
Roger Gine
struct <- readRDS(system.file("extdata", "exampleObject.rds", package = "RHermes")) p <- plotFidelity(struct, 1, 9)