EICplot: EICplot

View source: R/Functions_plotting_EICs.R

EICplotR Documentation

EICplot

Description

generate one EIC plot for multiple files in one plot window.

Usage

EICplot(
  EICs,
  cx = 1,
  ylim = c(0, max(unlist(EICs[[1]][, "tic"]))),
  xlim = c(min(unlist(EICs[[1]][, "rt"])), max(unlist(EICs[[1]][, "rt"])))/60,
  legendtext = paste(sub("^([^.]*).*", "\\1", basename(row.names(EICs[[1]])))),
  colr = topo.colors(nrow(EICs[[1]]), alpha = 1),
  heading = "test",
  relto = NULL,
  TIC = F,
  single = F,
  midline = 100,
  lw = 1,
  yzoom = 1,
  ylabshift = 0
)

Arguments

EICs

item from a list of EICs from Metaboseek:multiEIC

cx

character expansion (font size) factor

ylim

numeric(2) min and max visible rt value (in seconds)

xlim

numeric(2) min and max visible intensity value (in seconds)

legendtext

character() with item for each shown EIC for the plot legend

colr

color range (actual vector of color values)

heading

plot title

relto

normalize intensities to this number

TIC

if TRUE plot TIC

single

TRUE if this is not part of a composite plot

midline

numeric() of y-axis positions where a dotted vertical line should be plotted

lw

line width for plot lines

yzoom

zoom factor into y-axis

ylabshift

shift horizontal position of y axis label

Value

sends a single EIC plot to the current plotting device


mjhelf/METABOseek documentation built on April 27, 2022, 5:13 p.m.