groupPlot {Mosaic}R Documentation

groupPlot

Description

generate multiple EICs on one page

Usage

groupPlot(EIClist = res, grouping = grouping2, plotProps = list(TIC = T,
  cx = 1, colr = topo.colors(nrow(minoritem), alpha = 1), ylim = NULL, xlim =
  NULL, lw = 1, midline = 100, yzoom = 1), compProps = list(mfrow = c(1, 2),
  oma = c(0, 2, 8, 0), xpd = NA, bg = NA, header = paste0(names(res)), header2 =
  NULL, pdfFile = NULL, pdfHi = 6, pdfWi = 12, cx = 1, adductLabs = c("0", "1",
  "2")))

Arguments

EIClist

list of EICs from Mosaic:multiEIC

grouping

a named list of grouped file names (as supplied in $grouping of rawLayout objects)

plotProps

a list of settings for the individual plots

compProps

layoout options for the composite plot

plotProps.TIC

if TRUE, TIC instead of EIC

plotProps.cx

numeric(1) font size (character expansion) factor

plotProps.colr

color range (actual vector of color values)

plotProps.ylim

data.frame or matrix of nrow = number of plotted features, with min and max visible rt value (in seconds) for each feature

plotProps.xlim

data.frame or matrix of nrow = number of plotted features, with min and max visible intensity value for each feature

plotProps.midline

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

plotProps.lw

line width for plot lines

plotProps.yzoom

zoom factor into y-axis

compProps.mfrow

integer(2) rows and columns for plotting (cf. par(), mfrow)

compProps.oma

numeric(4) outer margins (cf. par(), oma)

compProps.xpd

drawing outside of plot region, cf. par(), xpd

compProps.bg

background color, cf. par(), bg

compProps.header

First (title) line of composite plot

compProps.header2

Subtitle line of composite plot

compProps.pdfFile

character - if not NULL, plotting result will be saved in a pdf file with this name.

compProps.pdfHi

pdf height in inches

compProps.pdfWi

pdf width in inches

compProps.cx

numeric(1) font size (character expansion) factor

compProps.adductLabs

adduct labels (nonfunctional)


[Package Mosaic version 0.7.0 Index]