This function is based on speaq::dohCluster.
nmr_align(
nmr_dataset,
peak_data,
NMRExp_ref = NULL,
maxShift_ppm = 0.0015,
acceptLostPeak = FALSE
)
The detected peak data given by nmr_detect_peaks.
NMRExperiment of the reference to use for alignment
The maximum shift allowed, in ppm
This is an option for users, TRUE is the default value. If the users believe that all the peaks in the peak list are true positive, change it to FALSE.
An nmr_dataset_1D, with the spectra aligned
Other alignment functions:
Pipelines
,
nmr_align_find_ref()
Other peak alignment functions:
nmr_align_find_ref()