plotFidelity: plotFidelity

plotFidelityR Documentation

plotFidelity

Description

Plots the selected SOI isotopic profile and a comparison with its theoretical abundances calculated from the molecular formula.

Usage

plotFidelity(struct, id, entry, plot = TRUE)

## S4 method for signature 'RHermesExp,numeric,numeric'
plotFidelity(struct, id, entry, plot = TRUE)

Arguments

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.

Value

An interactive plot_ly object. If plot set to FALSE, returns a list of isotopic fidelity metrics.

Author(s)

Roger Gine

See Also

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

Examples


p <- plotFidelity(struct, 1, 9)

RogerGinBer/RHermes documentation built on Nov. 6, 2022, 11:34 a.m.