plotPL: plotPL

plotPLR Documentation

plotPL

Description

Plots the raw data points anotated with a given formula and adducts.

Usage

plotPL(
  struct,
  id,
  formula,
  ads = NA,
  rtrange = c(0, 10000),
  dynamicaxis = TRUE
)

## S4 method for signature 'RHermesExp,numeric,character'
plotPL(
  struct,
  id,
  formula,
  ads = NA,
  rtrange = c(0, 10000),
  dynamicaxis = TRUE
)

Arguments

struct

An RHermesExp object

id

Number of the file to plot

formula

Formula annotation to search for (eg. "C6H12O6")

ads

Adducts to plot. Defaults to NA, which plots all of them by default.

rtrange

The retention time interval to plot, in seconds (eg. c(0,1000)). Defaults to a 0-10000s interval, which will cover all points.

dynamicaxis

Whether to use a fixed y scale for all adducts or to adapt the scale according to each adduct intensity

Value

An interactive plot_ly object

Author(s)

Roger Gine

See Also

Other Plots: plotCoverage(), plotIL(), plotISF()

Examples


p <- plotPL(struct, 1, "C5H11NO2", c("M+H", "M+Na", "M+K"), c(80, 120))

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