View source: R/nmr_detect_peaks_align.R
nmr_detect_peaks_tune_snr | R Documentation |
Diagnose SNR threshold in peak detection
nmr_detect_peaks_tune_snr(
ds,
NMRExperiment = NULL,
SNR_thresholds = seq(from = 2, to = 6, by = 0.1),
...
)
ds |
An nmr_dataset_1D dataset |
NMRExperiment |
A string with the single NMRExperiment used explore the SNR thresholds. If not given, use the first one. |
SNR_thresholds |
A numeric vector with the SNR thresholds to explore |
... |
Arguments passed on to
|
A list with the following elements:
peaks_detected
: A data frame with the columns from the nmr_detect_peaks output and an additional column
SNR_threshold
with the threshold used on each row.
num_peaks_per_region
: A summary of the peaks_detected
table, with the number of peaks detected on
each chemical shift region
plot_num_peaks_per_region
: A visual representation of num_peaks_per_region
plot_spectrum_and_detections
: A visual representation of the spectrum and the peaks detected with each
SNR threshold. Use plotly::ggplotly or plot_interactive on this to zoom and explore the results.
nmr_detect_peaks
Other peak detection functions:
Pipelines
,
nmr_baseline_threshold()
,
nmr_detect_peaks()
,
nmr_detect_peaks_plot()
,
nmr_detect_peaks_plot_overview()
,
nmr_identify_regions_blood()
,
nmr_identify_regions_cell()
,
nmr_identify_regions_urine()
,
nmr_integrate_regions()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.