MRMTransitionGroupCP#

class pyopenms.MRMTransitionGroupCP#

Bases: object

OpenMS class MRMTransitionGroupCP

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

Methods

__init__()

addChromatogram(chromatogram, key)

addFeature(feature)

addPrecursorChromatogram(chromatogram, key)

addTransition(transition, key)

chromatogramIdsMatch()

chromatogram_df_columns([columns, ...])

Returns a list of column names that to_chromatogram_df() would produce.

chromatogram_view(i)

Returns a live view of the chromatogram at index i.

chromatogram_views()

Returns a list of live views of the chromatograms (see chromatogram_view).

feature_df_columns([columns])

Returns a list of column names that to_feature_df() would produce.

feature_view(i)

Returns a live view of the feature at index i.

feature_views()

Returns a list of live views of the features (see feature_view).

getBestFeature()

getChromatogram(key)

getChromatograms()

getFeatures()

getFeaturesMuteable()

getLibraryIntensity(result)

getPrecursorChromatogram(key)

getPrecursorChromatograms()

getTransition(key)

getTransitionGroupID()

getTransitions()

getTransitionsMuteable()

get_chromatogram_df(*args, **kwargs)

Deprecated: Use to_chromatogram_df() instead.

get_chromatogram_df_columns(*args, **kwargs)

Deprecated: Use chromatogram_df_columns() instead.

get_feature_df(*args, **kwargs)

Deprecated: Use to_feature_df() instead.

get_feature_df_columns(*args, **kwargs)

Deprecated: Use feature_df_columns() instead.

hasChromatogram(key)

hasPrecursorChromatogram(key)

hasTransition(key)

isInternallyConsistent()

iter_chromatogram_views()

Yields live views of the chromatograms, one at a time (see chromatogram_view).

iter_feature_views()

Yields live views of the features, one at a time (see feature_view).

setChromatograms(value)

Replaces the whole chromatogram list (write-back for getChromatograms)

setFeatures(value)

Replaces the whole feature list (write-back for getFeaturesMuteable)

setPrecursorChromatograms(value)

Replaces the whole precursor chromatogram list (write-back for getPrecursorChromatograms)

setTransitionGroupID(tr_gr_id)

setTransitions(value)

Replaces the whole transition list (write-back for getTransitionsMuteable)

size()

subset(tr_ids)

to_arrow([columns, export_meta_values])

Returns an Apache Arrow Table representation of the Chromatograms.

to_chromatogram_df([columns, export_meta_values])

Returns a DataFrame representation of the Chromatograms stored in MRMTransitionGroupCP.

to_feature_df([columns, meta_values])

Returns a DataFrame representation of the Features stored in MRMTransitionGroupCP.

addChromatogram(chromatogram: pyopenms.MSChromatogram, key: str) → None#
addFeature(feature: pyopenms.MRMFeature) → None#
addPrecursorChromatogram(chromatogram: pyopenms.MSChromatogram, key: str) → None#
addTransition(transition: pyopenms.ReactionMonitoringTransition, key: str) → None#
chromatogramIdsMatch() → bool#
chromatogram_df_columns(columns='default', export_meta_values=True)#

Returns a list of column names that to_chromatogram_df() would produce.

chromatogram_view(i: int) → pyopenms.MSChromatogram#

Returns a live view of the chromatogram at index i. The view aliases this object’s storage: edits through it are visible immediately, and it stays valid only until the chromatogram list is resized or reordered. The parent object is kept alive automatically. For an owned copy use getChromatograms()[i].

chromatogram_views()#

Returns a list of live views of the chromatograms (see chromatogram_view).

feature_df_columns(columns='default')#

Returns a list of column names that to_feature_df() would produce.

feature_view(i: int) → pyopenms.MRMFeature#

Returns a live view of the feature at index i. The view aliases this object’s storage: edits through it are visible immediately, and it stays valid only until the feature list is resized or reordered. The parent object is kept alive automatically. For an owned copy use getFeaturesMuteable()[i].

feature_views()#

Returns a list of live views of the features (see feature_view).

getBestFeature() → pyopenms.MRMFeature#
getChromatogram(key: str) → pyopenms.MSChromatogram#
getChromatograms() → list[pyopenms.MSChromatogram]#
getFeatures() → list[pyopenms.MRMFeature]#
getFeaturesMuteable() → list[pyopenms.MRMFeature]#
getLibraryIntensity(result: collections.abc.Sequence[float]) → None#
getPrecursorChromatogram(key: str) → pyopenms.MSChromatogram#
getPrecursorChromatograms() → list[pyopenms.MSChromatogram]#
getTransition(key: str) → pyopenms.ReactionMonitoringTransition#
getTransitionGroupID() → str#
getTransitions() → list[pyopenms.ReactionMonitoringTransition]#
getTransitionsMuteable() → list[pyopenms.ReactionMonitoringTransition]#
get_chromatogram_df(*args, **kwargs)#

Deprecated: Use to_chromatogram_df() instead.

get_chromatogram_df_columns(*args, **kwargs)#

Deprecated: Use chromatogram_df_columns() instead.

get_feature_df(*args, **kwargs)#

Deprecated: Use to_feature_df() instead.

get_feature_df_columns(*args, **kwargs)#

Deprecated: Use feature_df_columns() instead.

hasChromatogram(key: str) → bool#
hasPrecursorChromatogram(key: str) → bool#
hasTransition(key: str) → bool#
isInternallyConsistent() → bool#
iter_chromatogram_views()#

Yields live views of the chromatograms, one at a time (see chromatogram_view).

iter_feature_views()#

Yields live views of the features, one at a time (see feature_view).

setChromatograms(value: collections.abc.Sequence[pyopenms.MSChromatogram]) → None#

Replaces the whole chromatogram list (write-back for getChromatograms)

setFeatures(value: collections.abc.Sequence[pyopenms.MRMFeature]) → None#

Replaces the whole feature list (write-back for getFeaturesMuteable)

setPrecursorChromatograms(value: collections.abc.Sequence[pyopenms.MSChromatogram]) → None#

Replaces the whole precursor chromatogram list (write-back for getPrecursorChromatograms)

setTransitionGroupID(tr_gr_id: str) → None#
setTransitions(value: collections.abc.Sequence[pyopenms.ReactionMonitoringTransition]) → None#

Replaces the whole transition list (write-back for getTransitionsMuteable)

size() → int#
subset(tr_ids: list[str]) → pyopenms.MRMTransitionGroupCP#
to_arrow(columns=None, export_meta_values=True)#

Returns an Apache Arrow Table representation of the Chromatograms.

to_chromatogram_df(columns=None, export_meta_values=True)#

Returns a DataFrame representation of the Chromatograms stored in MRMTransitionGroupCP.

to_feature_df(columns=None, meta_values=None)#

Returns a DataFrame representation of the Features stored in MRMTransitionGroupCP.