MasstraceCorrelator#
- class pyopenms.MasstraceCorrelator#
Bases:
DefaultParamHandlerCorrelates individual masstraces found in mass spectrometric maps
- __init__() None#
- __init__(arg: pyopenms.MasstraceCorrelator, /) None
Methods
__init__()createPseudoSpectra(map, pseudo_spectra, ...)Compute pseudo-spectra from a set of (MS2) masstraces
endProgress([bytes_processed])Ends the progress display
Returns the default parameters
Returns the type of progress log being used
getName()Returns the name
Returns the parameters
Increment progress by 1 (according to range begin-end)
setLogType(type)Sets the progress log that should be used.
setName(name)Sets the name
setParameters(param)Sets the parameters
setProgress(value)Sets the current progress
startProgress(begin, end, label)- createPseudoSpectra(map: pyopenms.ConsensusMap, pseudo_spectra: pyopenms.MSExperiment, min_peak_nr: int, min_correlation: float, max_lag: int, max_rt_apex_difference: float) None#
Compute pseudo-spectra from a set of (MS2) masstraces
This function will take a set of masstraces (consensus map) as input and produce a vector of pseudo spectra as output (pseudo_spectra result vector).
It basically makes an all-vs-all comparison of all masstraces against each other and scores them on how similar they are in their mass traces.
This assumes that the consensus feature is only from one (SWATH) map This assumes that the consensus map is sorted by intensity
- endProgress(bytes_processed: int = 0) None#
Ends the progress display
- getDefaults() pyopenms.Param#
Returns the default parameters
- getLogType() pyopenms.ProgressLogger.LogType#
Returns the type of progress log being used
- getName() str#
Returns the name
- getParameters() pyopenms.Param#
Returns the parameters
- getSubsections() list[str]#
- nextProgress() None#
Increment progress by 1 (according to range begin-end)
- setLogType(type: pyopenms.ProgressLogger.LogType) None#
Sets the progress log that should be used. The default type is NONE!
- setName(name: str) None#
Sets the name
- setParameters(param: pyopenms.Param) None#
Sets the parameters
- setProgress(value: int) None#
Sets the current progress
- startProgress(begin: int, end: int, label: str) None#