27 #include <OpenMS/OpenMSConfig.h>
33 class ProteinIdentification;
34 class PeptideIdentification;
154 void sortByPosition();
163 void sortByOverallQuality(
bool reverse = false);
168 void updateRanges() override;
193 void setUnassignedPeptideIdentifications(const std::vector<
PeptideIdentification>& unassigned_peptide_identifications);
220 void clear(
bool clear_meta_data = true);
234 template <typename Type>
235 Size applyMemberFunction(
Size (Type::* member_function)())
237 Size assignments = 0;
238 assignments += ((*this).*member_function)();
239 for (
Iterator iter = this->begin(); iter != this->end(); ++iter)
241 assignments += iter->applyMemberFunction(member_function);
247 template <
typename Type>
250 Size assignments = 0;
251 assignments += ((*this).*member_function)();
252 for (
ConstIterator iter = this->begin(); iter != this->end(); ++iter)
254 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:19
AnnotationState
state of identification, use getAnnotationState() to query it
Definition: BaseFeature.h:46
Description of the applied preprocessing steps.
Definition: DataProcessing.h:27
Manage source document information.
Definition: DocumentIdentifier.h:30
Makes a vector<VectorElement> available in the derived class and exposed commonly used vector member ...
Definition: ExposedVector.h:55
typename VecMember::iterator iterator
Definition: ExposedVector.h:61
typename VecMember::const_iterator const_iterator
Definition: ExposedVector.h:62
typename VecMember::reverse_iterator reverse_iterator
Definition: ExposedVector.h:63
typename VecMember::const_reverse_iterator const_reverse_iterator
Definition: ExposedVector.h:64
A container for features.
Definition: FeatureMap.h:80
const_reverse_iterator ConstReverseIterator
Definition: FeatureMap.h:90
reverse_iterator ReverseIterator
Definition: FeatureMap.h:89
std::vector< DataProcessing > data_processing_
applied data processing
Definition: FeatureMap.h:287
IdentificationData & getIdentificationData()
Mutable access to the contained identification data.
const_iterator ConstIterator
Definition: FeatureMap.h:88
IdentificationData id_data_
general identification results (peptides/proteins, RNA, compounds)
Definition: FeatureMap.h:290
AnnotationStatistics getAnnotationStatistics() const
std::vector< PeptideIdentification > unassigned_peptide_identifications_
peptide identifications not matched to a specific feature
Definition: FeatureMap.h:284
const IdentificationData & getIdentificationData() const
Immutable access to the contained identification data.
std::vector< ProteinIdentification > protein_identifications_
protein identifications
Definition: FeatureMap.h:281
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:248
An LC-MS feature.
Definition: Feature.h:46
Definition: IdentificationData.h:87
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:46
Utilities for Feature and ConsensusMap.
Definition: MapUtilities.h:24
Represents the peptide hits for a spectrum.
Definition: PeptideIdentification.h:39
Representation of a protein identification run.
Definition: ProteinIdentification.h:50
Definition: RangeManager.h:872
Handles the management of a multidimensional range, e.g. RangeMZ and RangeIntensity for spectra.
Definition: RangeManager.h:540
A base class for containers with elements derived from UniqueIdInterface. This adds functionality to ...
Definition: UniqueIdIndexer.h:41
A base class defining a common interface for all classes having a unique id.
Definition: UniqueIdInterface.h:25
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:101
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:44
static String & reverse(String &this_s)
Definition: StringUtilsSimple.h:330
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
Definition: FeatureMap.h:40
AnnotationStatistics(const AnnotationStatistics &rhs)
std::vector< Size > states
count each state, indexing by BaseFeature::AnnotationState
Definition: FeatureMap.h:41
AnnotationStatistics & operator+=(BaseFeature::AnnotationState state)
AnnotationStatistics & operator=(const AnnotationStatistics &rhs)
bool operator==(const AnnotationStatistics &rhs) const
Definition: RangeManager.h:398
Definition: RangeManager.h:340
Definition: RangeManager.h:280