plotSampleInformation. TODO: simplify interface, e.g. plotSampleInformation(getSampleInformation(getSampleFiles()[1]))

plotSampleInformation(sampleInformation, add = FALSE,
  xlim = kwb.datetime::toUTC(range(c(sampleInformation$samplingEvents$tBeg,
  sampleInformation$samplingEvents$tEnd))), ylim = c(-2, 7), main = NA,
  cex.legend = 0.6, density = 0, plotSampleIntervals = TRUE,
  maxSamplesOk = NULL, plotSamplingPoints = plotSampleIntervals)

Arguments

sampleInformation

list with elements samplingEvents, bottleEvents

add

passed to ganttPlotEvents

xlim

passed to ganttPlotEvents

ylim

passed to ganttPlotEvents

main

plot title

cex.legend

passed to addSampleTimesToPlot

density

passed to ganttPlotEvents

plotSampleIntervals

logical. If TRUE ganttPlotEvents is called for sampleInformation$samplingEvents

maxSamplesOk

maximum number of valid samples. This value is used to calculate an y coordinate

plotSamplingPoints

= logical. If TRUE addSampleTimesToPlot is called