53 #include <OpenMS/OpenMSConfig.h>
59 class ProteinIdentification;
60 class PeptideIdentification;
180 void sortByPosition();
189 void sortByOverallQuality(
bool reverse = false);
194 void updateRanges() override;
219 void setUnassignedPeptideIdentifications(const std::vector<
PeptideIdentification>& unassigned_peptide_identifications);
246 void clear(
bool clear_meta_data = true);
260 template <typename Type>
261 Size applyMemberFunction(
Size (Type::* member_function)())
263 Size assignments = 0;
264 assignments += ((*this).*member_function)();
265 for (
Iterator iter = this->begin(); iter != this->end(); ++iter)
267 assignments += iter->applyMemberFunction(member_function);
273 template <
typename Type>
276 Size assignments = 0;
277 assignments += ((*this).*member_function)();
278 for (
ConstIterator iter = this->begin(); iter != this->end(); ++iter)
280 assignments += iter->applyMemberFunction(member_function);
#define EXPOSED_VECTOR_INTERFACE(InnerElement)
Macro to expose common dependent types, such as iterator in the derived class.
Definition: ExposedVector.h:45
AnnotationState
state of identification, use getAnnotationState() to query it
Definition: BaseFeature.h:72
Description of the applied preprocessing steps.
Definition: DataProcessing.h:53
Manage source document information.
Definition: DocumentIdentifier.h:56
Makes a vector<VectorElement> available in the derived class and exposed commonly used vector member ...
Definition: ExposedVector.h:81
typename VecMember::iterator iterator
Definition: ExposedVector.h:87
typename VecMember::const_iterator const_iterator
Definition: ExposedVector.h:88
typename VecMember::reverse_iterator reverse_iterator
Definition: ExposedVector.h:89
typename VecMember::const_reverse_iterator const_reverse_iterator
Definition: ExposedVector.h:90
A container for features.
Definition: FeatureMap.h:106
const_reverse_iterator ConstReverseIterator
Definition: FeatureMap.h:116
reverse_iterator ReverseIterator
Definition: FeatureMap.h:115
std::vector< DataProcessing > data_processing_
applied data processing
Definition: FeatureMap.h:313
IdentificationData & getIdentificationData()
Mutable access to the contained identification data.
const_iterator ConstIterator
Definition: FeatureMap.h:114
IdentificationData id_data_
general identification results (peptides/proteins, RNA, compounds)
Definition: FeatureMap.h:316
AnnotationStatistics getAnnotationStatistics() const
std::vector< PeptideIdentification > unassigned_peptide_identifications_
peptide identifications not matched to a specific feature
Definition: FeatureMap.h:310
const IdentificationData & getIdentificationData() const
Immutable access to the contained identification data.
std::vector< ProteinIdentification > protein_identifications_
protein identifications
Definition: FeatureMap.h:307
std::set< IdentificationData::ObservationMatchRef > getUnassignedIDMatches() const
Return observation matches (e.g. PSMs) from the identification data that are not assigned to any feat...
Size applyMemberFunction(Size(Type::*member_function)() const) const
The "const" variant.
Definition: FeatureMap.h:274
An LC-MS feature.
Definition: Feature.h:72
Definition: IdentificationData.h:113
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:72
Utilities for Feature and ConsensusMap.
Definition: MapUtilities.h:50
Represents the peptide hits for a spectrum.
Definition: PeptideIdentification.h:65
Representation of a protein identification run.
Definition: ProteinIdentification.h:76
Definition: RangeManager.h:898
Handles the management of a multidimensional range, e.g. RangeMZ and RangeIntensity for spectra.
Definition: RangeManager.h:566
A base class for containers with elements derived from UniqueIdInterface. This adds functionality to ...
Definition: UniqueIdIndexer.h:67
A base class defining a common interface for all classes having a unique id.
Definition: UniqueIdInterface.h:51
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
static String & reverse(String &this_s)
Definition: StringUtilsSimple.h:355
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
Definition: FeatureMap.h:66
AnnotationStatistics(const AnnotationStatistics &rhs)
std::vector< Size > states
count each state, indexing by BaseFeature::AnnotationState
Definition: FeatureMap.h:67
AnnotationStatistics & operator+=(BaseFeature::AnnotationState state)
AnnotationStatistics & operator=(const AnnotationStatistics &rhs)
bool operator==(const AnnotationStatistics &rhs) const
Definition: RangeManager.h:424
Definition: RangeManager.h:366
Definition: RangeManager.h:306