emzed.quantification¶
integrate(peak_table, peak_shape_model, ms_level=None, show_progress=True, n_cores=1, min_size_for_parallel_execution=MIN_SIZE_DEFAULT, post_fixes=None, max_cores=8, in_place=False, path=None, overwrite=False, **model_extra_args)
¶
integrates peaks of peak_table.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
peak_table
|
|
required | |
peak_shape_model
|
String of model name applied to determine peak area.
Available models are: |
required | |
ms_level
|
MS level of peak integration. Must only be specified if peakmap
has more than one MS levels. |
None
|
|
show_progress
|
Boolean value to activate progress bar. |
True
|
|
n_cores
|
Defines the number of cores used for multicore processing.
If |
1
|
|
min_size_for_parallel_execution
|
Defines the number of table rows required
to execute multicore processing. |
MIN_SIZE_DEFAULT
|
|
post_fixes
|
Defines a subset of peaks via postfixes i. e. ['__0', '__1'].
By default, all peak_tables of a table get integrated.
|
None
|
|
max_cores
|
The maximal number of cores used for multicore processing.
If |
8
|
|
in_place
|
Allows operation in place if True.
Note: if |
False
|
|
path
|
If specified the result will be a Table with a db file backend, else the result will be managed in memory. |
None
|
|
overwrite
|
Indicate if an already existing database file should be overwritten. |
False
|
Returns:
| Type | Description |
|---|---|
|
Example: For given peak_table t: .. parsed-literal:: .. code-block:: python .. parsed-literal:: |
integrate_chromatograms(chromatogram_table, peak_shape_model, ms_level=None, show_progress=True, n_cores=1, min_size_for_parallel_execution=MIN_SIZE_DEFAULT, post_fixes=None, max_cores=8, in_place=False, path=None, overwrite=False, **model_extra_args)
¶
integrates peaks of chromatogram_table.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
chromatogram_table
|
|
required | |
peak_shape_model
|
String of model name applied to determine peak area.
Available models are: |
required | |
ms_level
|
MS level of peak integration. Must only be specified if peakmap
has more than one MS levels. |
None
|
|
show_progress
|
Boolean value to activate progress bar. |
True
|
|
n_cores
|
Defines the number of cores used for multicore processing.
If |
1
|
|
min_size_for_parallel_execution
|
Defines the number of table rows required
to execute multicore processing. |
MIN_SIZE_DEFAULT
|
|
post_fixes
|
Defines a subset of peaks via postfixes i. e. ['__0', '__1'].
By default, all peak_tables of a table get integrated.
|
None
|
|
max_cores
|
The maximal number of cores used for multicore processing.
If |
8
|
|
in_place
|
Allows operation in place if True.
Note: if |
False
|
|
path
|
If specified the result will be a Table with a db file backend, else the result will be managed in memory. |
None
|
|
overwrite
|
Indicate if an already existing database file should be overwritten. |
False
|
Returns:
| Type | Description |
|---|---|
|
|