plot-methods: Method plot

plotR Documentation

Method plot

Description

'plot' plot the two-dimensional chromatogram as a contour plot.

Usage

plot(Object, type = "f", ...)

## S4 method for signature 'GCxGC'
plot(Object, type = "f", ...)

Arguments

Object

a GCxGC chromatogram, it can be a raw, or preprocessed chromatogram.

type

a character indicating the type of chromatogram representation. By default, type = "f" for filled.contour function, if type = "c" only contours or isolines will be displayed by using the contour function.

...

Other parameters passed to filled.contour or filled.contour function, it depends on the value of the type argument.

Details

This plot function employs the built-in contour function. As mentioned in \insertCiteReichenbach2004;textualRGCxGC, interpolation is used to display non-native GCxGC data.

References

\insertAllCited

Examples


library(colorRamps)
chrom_name <-  system.file("extdata", "08GB.cdf", package = "RGCxGC")
chrom_2D <- read_chrom(chrom_name, 5L)
plot(chrom_2D, nlevels = 150, color.palette = matlab.like)
plot(chrom_2D, type = "c", nlevels = 50, col = matlab.like(30))

DanielQuiroz97/RGCxGC documentation built on March 12, 2023, 9:07 a.m.