pyopenms.dataframes.peptide_identifications_to_df
- pyopenms.dataframes.peptide_identifications_to_df(peps: typing.List[pyopenms.pyopenms_8.PeptideIdentification], decode_ontology: bool = True, default_missing_values: dict = {<class 'bool'>: False, <class 'int'>: -9999, <class 'float'>: nan, <class 'str'>: ''}, export_unidentified: bool = True)
Converts a list of peptide identifications to a pandas DataFrame. Parameters: peps (List[PeptideIdentification]): list of PeptideIdentification objects decode_ontology (bool): decode meta value names default_missing_values: default value for missing values for each data type export_unidentified: export PeptideIdentifications without PeptideHit Returns: pandas.DataFrame: peptide identifications in a DataFrame