ConsensusXMLFile#
- class pyopenms.ConsensusXMLFile#
Bases:
XMLFileFile adapter for consensusXML files
Provides methods to load and store consensus maps in consensusXML format. ConsensusXML files store consensus features linking corresponding features across multiple LC-MS runs, typically used for quantification workflows.
Usage:
cm = ConsensusMap() ConsensusXMLFile().load("test.consensusXML", cm) for cf in cm: print(cf.getRT(), cf.getMZ(), cf.getIntensity())
- __init__() None#
Methods
__init__()Returns a copy of the options for loading/storing
Return the version of the schema
load(filename, map)Load a consensusXML file
setOptions(options)Sets the options for loading/storing
store(filename, map)Store a ConsensusMap to consensusXML
- getOptions() pyopenms.PeakFileOptions#
Returns a copy of the options for loading/storing
- getVersion() str#
Return the version of the schema
- load(filename: str, map: pyopenms.ConsensusMap) None#
Load a consensusXML file
- setOptions(options: pyopenms.PeakFileOptions) None#
Sets the options for loading/storing
- store(filename: str, map: pyopenms.ConsensusMap) None#
Store a ConsensusMap to consensusXML