reader
Reader functions for various file formats
read_dynamx(filepath_or_buffer, time_conversion=('min', 's'))
Reads DynamX .csv files and returns the resulting peptide table as a pandas DataFrame.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
filepath_or_buffer |
Union[Path[str], str, IO]
|
File path of the .csv file or :class: |
required |
time_conversion |
Optional[tuple[Literal['h', 'min', 's'], Literal['h', 'min', 's']]]
|
How to convert the time unit of the field 'exposure'. Format is (' |
('min', 's')
|
Returns:
Type | Description |
---|---|
DataFrame
|
Peptide table as a pandas DataFrame. |
Source code in hdxms_datasets/reader.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
|