emzed.align¶
align_peaks(tables, mz_tol, rt_tol)
¶
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:
| Name | Type | Description | Default |
|---|---|---|---|
tables
|
list or tuple of peak tables with columns "id", "mz" and "rt" at least. |
required | |
mz_tol
|
mz tolerance in Da. |
required | |
rt_tol
|
rt tolerance in seconds. |
required |
Returns:
| Type | Description |
|---|---|
|
None |