Align a GCIMSSample object, in drift time and to the injection point in retention time

# S4 method for GCIMSSample
prealign(object, align_dt, align_ip, rip_ref_ms, min_start, rt_ref)

Arguments

object

A GCIMSSample object

align_dt

if TRUE, align the drift time axis using a multiplicative correction

align_ip

if TRUE a multiplicative correction will be done in retention time before applying the other algorithm

rip_ref_ms

The reference position of the Reactant Ion Peak in the dataset (in ms)

min_start

minimun injection point, to calculate where to begin the spectrums and cut as few points as posible, to be used in injection point alignment

rt_ref

retention time reference for alignment to injection point

Value

The modified GCIMSSample