View source: R/plot.peak_list.R
plot.peak_list | R Documentation |
Visually assess integration accuracy by plotting fitted peaks over trace.
## S3 method for class 'peak_list'
plot(
x,
...,
chrom_list,
idx = 1,
lambda = NULL,
points = FALSE,
ticks = FALSE,
a = 0.5,
color = NULL,
cex.points = 0.5,
numbers = FALSE,
cex.font = 0.5,
y.offset = 25,
plot_purity = FALSE,
res,
index = NULL
)
x |
A |
... |
Additional arguments to main plot function. |
chrom_list |
List of chromatograms (retention time x wavelength matrices) |
idx |
Index or name of chromatogram to be plotted. |
lambda |
Wavelength for plotting. |
points |
Logical. If TRUE, plot peak maxima. Defaults to FALSE. |
ticks |
Logical. If TRUE, mark beginning and end of each peak. Defaults to FALSE. |
a |
Alpha parameter controlling the transparency of fitted shapes. |
color |
The color of the fitted shapes. |
cex.points |
Size of points. Defaults to 0.5 |
numbers |
Whether to number peaks. Defaults to FALSE. |
cex.font |
Font size if peaks are numbered. Defaults to 0.5. |
y.offset |
Y offset for peak numbers. Defaults to 25. |
plot_purity |
Whether to add visualization of peak purity. |
res |
time resolution for peak fitting |
index |
This argument is deprecated. Please use |
No return value, called for side effects.
Plots a chromatographic trace from the specified chromatogram (chr
)
at the specified wavelength (lambda
) with fitted peak shapes from the
provided peak_list
drawn underneath the curve.
Ethan Bass
get_peaks
Other visualization functions:
boxplot.peak_table()
,
mirror_plot()
,
plot.peak_table()
,
plot_all_spectra()
,
plot_chroms()
,
plot_spectrum()
,
scan_chrom()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.