align-GCIMSDataset-method.Rd
The alignment uses a multiplicative correction in drift time and a Parametric Time Warping correction in retention time
# S4 method for class 'GCIMSDataset'
align(
object,
method_rt = "ptw",
align_dt = TRUE,
align_ip = TRUE,
reference_sample_idx = NULL,
...
)
A GCIMSDataset object, modified in-place
Method for alignment, should be "ptw" or "pow" if pow is selected the package "pow" must be installed, to do so visit: https://github.com/sipss/pow
if TRUE
the drift time axis will be aligned using a multiplicative correction
if TRUE
a multiplicative correction will be done in retention time before applying the other algorithm
One number, the index of the sample to use as reference for the alignment in retention time, if NULL the reference will be calculated automatically depending on the method
additional parameters for POW alignment
The modified GCIMSDataset