| EICgeneral {Mosaic} | R Documentation |
wrapper function to plot multiple EICs
EICgeneral(rtmid = combino()[, "rt"], mzmid = combino()[, "mz"], glist = MSData$layouts[[MSData$active]]$grouping, cols = MSData$layouts[[MSData$active]]$settings$cols, colrange = MSData$layouts[[MSData$active]]$settings$colr, transparency = MSData$layouts[[MSData$active]]$settings$alpha, RTall = input$RTtoggle, TICall = input$TICtoggle, rtw = MSData$layouts[[MSData$active]]$settings$rtw, ppm = MSData$layouts[[MSData$active]]$settings$ppm, rdata = MSData$data, pdfFile = file, leadingTIC = T, lw = 1, adducts = c(0), cx = 1, midline = T, yzoom = 1, RTcorrect = NULL, importEIC = NULL)
rtmid |
vector of retention time values (not ranges) |
mzmid |
vector of mz values (not ranges) |
glist |
a named list of grouped file names (as supplied in $grouping of rawLayout objects) |
cols |
integer, number of colors generated |
colrange |
character(1), color range function used for line colors |
transparency |
numeric(1), alpha (range 0..1) for transparency of lines |
RTall |
if TRUE, entire RT range will be plotted |
TICall |
if TRUE, TIC will be plotted instead of EIC |
rtw |
retention time window +/- rtmid in seconds that will be plotted |
ppm |
mz window +/- mzmid in ppm that will be plotted |
rdata |
named list of xcmsRaw objects |
pdfFile |
character - if not NULL, plotting result will be saved in a pdf file with this name. |
leadingTIC |
if TRUE, a TIC plot is made before the EIC plots (e.g. as first page of pdf file) |
lw |
line width for plot lines |
adducts |
numeric() of mass shifts to be added to feature masses |
cx |
character expansion factor (font size) |
midline |
if TRUE, dotted vertical line should be plotted at feature rt |
yzoom |
zoom factor into y-axis |
RTcorrect |
if not NULL, this RTcorr object will be used to adjust retention times. |
exportmode |
if TRUE, $EIC list is exported along with $plot (as list) |