Plot fits for series of spectra with parameters from a peak data frame
plot_peak_df(
peak_df,
spectra,
noise_sigma = NULL,
noise_cutoff = 4,
omega0_plus = c(0.075, 0.75) * 2,
cex = 0.2,
lwd = 0.25,
label = TRUE,
label_col = "black",
p0 = NULL,
p1 = NULL,
add = FALSE
)
data frame with peak data as produced by param_list_to_peak_df
.
list of spectra corresponding to the volumes found in peak_df
.
numeric vector of noise levels associated with each spectrum. If NULL
, it is calculated with noise_estimate
.
numeric value used to calculate the lowest contour level according to noise_sigma*noise_cutoff
.
numeric value by which to scale blue points and labels.
numeric value giving width of contour lines.
logical indicating whether to draw text labels and connecting lines.
zero order phase for plotting modeled peaks.
first order phase for plotting modeled peaks.
logical indicating whether to suppress generation of a new plot and add to an existing plot.
The raw spectral data is shown in black contours and the modeled peak intensity is shown in red. The centers of peaks are shown with semi-transparent blue dots, with the area of the dot proportional to the volume of the peak (m0
). Blue lines connect peaks from modeled doublets. Singlets or doublets are labeled with the syntax <peak>:<fit>. If an F-test p-value column is present (f_pvalue
), that will be given below the peak label.