IBSpectraFile#

class pyopenms.IBSpectraFile#

Bases: object

Implements the export of consensusmaps into the IBSpectra format used by isobar to load quantification results

__init__() → None#
__init__(arg: pyopenms.IBSpectraFile, /) → None

Methods

__init__()

store(filename, cm)

Writes the contents of the ConsensusMap cm into the file named by filename

store(filename: str, cm: pyopenms.ConsensusMap) → None#

Writes the contents of the ConsensusMap cm into the file named by filename

Parameters:
  • filename – The name of the file where the contents of cm should be stored

  • cm – The ConsensusMap that should be exported to filename

Raises:

Exception: InvalidParameter if the ConsensusMap does not hold the result of an isobaric quantification experiment (e.g., itraq)