featureReport: featureReport

View source: R/Functions_featureReport.R

featureReportR Documentation

featureReport

Description

Generates a report on a selected molecular feature with MS1 ands MS2 spectra, EICs and SIRIUS results.

Usage

featureReport(
  pdf_settings = list(file = "testReport.pdf", width = NULL, height = NULL),
  layout_settings = 3,
  EICplots = NULL,
  MS1 = NULL,
  MS2 = NULL,
  tree = NULL,
  fragments = NULL,
  cx = 1,
  selectMS2 = NULL
)

Arguments

pdf_settings

if NULL, plot to current device, otherwise takes list with items file, height and width. If height and/ or width are NULL, plot to A4 format pdf with some safeguards increasing width and hieght as necessary

layout_settings

list of arguments passed to layout(), OR an integer defining how many columns to use for the EIC plots

EICplots

list of arguments passed to EICgeneral()

MS1

list of arguments passed to specplot()

MS2

list of arguments passed to specplot()

tree

list of arguments passed to plotTree()

fragments

labels for known fragments, currently not used!

cx

font size factor

selectMS2

if not NULL, and if one of the groups in EICplots is called "MS2", only the EIC for this file will be shown in the MS2 EIC group

Value

plots MS1 and MS2 spectra, EICs and SIRIUS results, optimized for A4 sized pdf pages


mjhelf/Mosaic documentation built on April 28, 2022, 11:32 a.m.