OpenMS
Loading...
Searching...
No Matches
ParentGroup.h
Go to the documentation of this file.
1// Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
2// SPDX-License-Identifier: BSD-3-Clause
3//
4// --------------------------------------------------------------------------
5// $Maintainer: Hendrik Weisser $
6// $Authors: Hendrik Weisser $
7// --------------------------------------------------------------------------
8
9#pragma once
10
12
14
15
16namespace OpenMS
17{
18 namespace IdentificationDataInternal
19 {
22 // @TODO: derive from MetaInfoInterface?
24 {
25 std::map<ScoreTypeRef, double> scores;
26 // @TODO: does this need a "leader" or some such?
27 std::set<ParentSequenceRef> parent_refs;
28 };
29
32
36 {
37 std::string label; // @TODO: use "label" as a uniqueness constraint?
39
41 const std::string& label = "",
44 {
45 }
46 };
47
48 typedef std::vector<ParentGroupSet> ParentGroupSets;
49
50 }
51}
std::map< ScoreTypeRef, double > scores
Definition ParentGroup.h:25
std::vector< ParentGroupSet > ParentGroupSets
Definition ParentGroup.h:48
IDDataContainer< ParentGroup, std::set< ParentSequenceRef >, std::set< ParentSequenceRef >, &ParentGroup::parent_refs > ParentGroups
Definition ParentGroup.h:30
IteratorWrapper< ParentGroups::iterator > ParentGroupRef
Definition ParentGroup.h:31
std::set< ParentSequenceRef > parent_refs
Definition ParentGroup.h:27
: Group of ambiguously identified parent sequences (e.g. protein group)
Definition ParentGroup.h:24
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
Wrapper that adds operator< to iterators, so they can be used as (part of) keys in maps/sets or multi...
Definition MetaData.h:20
Set of groups of ambiguously identified parent sequences (e.g. results of running a protein inference...
Definition ParentGroup.h:36
std::string label
Definition ParentGroup.h:37
ParentGroupSet(const std::string &label="", const ParentGroups &groups=ParentGroups())
Definition ParentGroup.h:40
ParentGroups groups
Definition ParentGroup.h:38
Base class for ID data with scores and processing steps (and meta info)
Definition ScoredProcessingResult.h:23