emzed.align.sample_alignment module¶
- emzed.align.sample_alignment.align_peaks(tables, mz_tol, rt_tol)[source]¶
Assigns global peak ids over samples sucht that peaks which differ by given tolerances are are assigned to the sampe global peak id.
Tables are modified in-place by adding a new columns
global_peak_id
.- Parameters:
tables – list or tuple of peak tables with columns “id”, “mz” and “rt” at least.
mz_tol – mz tolerance in Da.
rt_tol – rt tolerance in seconds.
- Returns:
None