FeatureXMLFile#
- class pyopenms.FeatureXMLFile#
Bases:
XMLFileFile adapter for featureXML files
Provides methods to load and store feature maps in featureXML format. FeatureXML files store LC-MS features with their convex hulls, intensities, and metadata.
Usage:
fm = FeatureMap() FeatureXMLFile().load("test.featureXML", fm) for feature in fm: print(feature.getRT(), feature.getMZ(), feature.getIntensity())
- __init__() None#
Methods
__init__()Access to the options for loading/storing
Return the version of the schema
load(filename, map)Load a featureXML file
loadSize(filename)Counts the number of features in the file without loading the full data
setOptions(options)Setter for options for loading/storing
store(filename, map)Store a FeatureMap to featureXML
- getOptions() pyopenms.FeatureFileOptions#
Access to the options for loading/storing
- getVersion() str#
Return the version of the schema
- load(filename: str, map: pyopenms.FeatureMap) None#
Load a featureXML file
- loadSize(filename: str) int#
Counts the number of features in the file without loading the full data
- setOptions(options: pyopenms.FeatureFileOptions) None#
Setter for options for loading/storing
- store(filename: str, map: pyopenms.FeatureMap) None#
Store a FeatureMap to featureXML