|
FeatureMap & | operator= (const FeatureMap &rhs) |
| Assignment operator. More...
|
|
bool | operator== (const FeatureMap &rhs) const |
| Equality operator. More...
|
|
bool | operator!= (const FeatureMap &rhs) const |
| Equality operator. More...
|
|
FeatureMap | operator+ (const FeatureMap &rhs) const |
| Joins two feature maps. More...
|
|
FeatureMap & | operator+= (const FeatureMap &rhs) |
| Add one feature map to another. More...
|
|
void | updateRanges () |
| Updates minimum and maximum position/intensity. More...
|
|
void | swapFeaturesOnly (FeatureMap &from) |
| Swaps the feature content (plus its range information) of this map with the content of from . More...
|
|
void | swap (FeatureMap &from) |
|
const std::vector< ProteinIdentification > & | getProteinIdentifications () const |
| non-mutable access to the protein identifications More...
|
|
std::vector< ProteinIdentification > & | getProteinIdentifications () |
| mutable access to the protein identifications More...
|
|
void | setProteinIdentifications (const std::vector< ProteinIdentification > &protein_identifications) |
| sets the protein identifications More...
|
|
const std::vector< PeptideIdentification > & | getUnassignedPeptideIdentifications () const |
| non-mutable access to the unassigned peptide identifications More...
|
|
std::vector< PeptideIdentification > & | getUnassignedPeptideIdentifications () |
| mutable access to the unassigned peptide identifications More...
|
|
void | setUnassignedPeptideIdentifications (const std::vector< PeptideIdentification > &unassigned_peptide_identifications) |
| sets the unassigned peptide identifications More...
|
|
const std::vector< DataProcessing > & | getDataProcessing () const |
| returns a const reference to the description of the applied data processing More...
|
|
std::vector< DataProcessing > & | getDataProcessing () |
| returns a mutable reference to the description of the applied data processing More...
|
|
void | setDataProcessing (const std::vector< DataProcessing > &processing_method) |
| sets the description of the applied data processing More...
|
|
void | setPrimaryMSRunPath (const StringList &s) |
| set the file path to the primary MS run (usually the mzML file obtained after data conversion from raw files) More...
|
|
void | getPrimaryMSRunPath (StringList &toFill) const |
| get the file path to the first MS run More...
|
|
void | clear (bool clear_meta_data=true) |
| Clears all data and meta data. More...
|
|
template<typename Type > |
Size | applyMemberFunction (Size(Type::*member_function)()) |
| Applies a member function of Type to the container itself and all features (including subordinates). The returned values are accumulated. More...
|
|
template<typename Type > |
Size | applyMemberFunction (Size(Type::*member_function)() const) const |
| The "const" variant. More...
|
|
AnnotationStatistics | getAnnotationStatistics () const |
|
|
| FeatureMap () |
| Default constructor. More...
|
|
| FeatureMap (const FeatureMap &source) |
| Copy constructor. More...
|
|
virtual | ~FeatureMap () |
| Destructor. More...
|
|
|
These simplified sorting methods are supported in addition to the standard sorting methods of std::vector.
|
void | sortByIntensity (bool reverse=false) |
| Sorts the peaks according to ascending intensity. More...
|
|
void | sortByPosition () |
| Sort features by position. Lexicographical comparison (first RT then m/z) is done. More...
|
|
void | sortByRT () |
| Sort features by RT position. More...
|
|
void | sortByMZ () |
| Sort features by m/z position. More...
|
|
void | sortByOverallQuality (bool reverse=false) |
| Sort features by ascending overall quality. More...
|
|
| MetaInfoInterface () |
| Constructor. More...
|
|
| MetaInfoInterface (const MetaInfoInterface &rhs) |
| Copy constructor. More...
|
|
| ~MetaInfoInterface () |
| Destructor. More...
|
|
MetaInfoInterface & | operator= (const MetaInfoInterface &rhs) |
| Assignment operator. More...
|
|
bool | operator== (const MetaInfoInterface &rhs) const |
| Equality operator. More...
|
|
bool | operator!= (const MetaInfoInterface &rhs) const |
| Equality operator. More...
|
|
const DataValue & | getMetaValue (const String &name) const |
| Returns the value corresponding to a string (or DataValue::EMPTY if not found) More...
|
|
const DataValue & | getMetaValue (UInt index) const |
| Returns the value corresponding to an index (or DataValue::EMPTY if not found) More...
|
|
bool | metaValueExists (const String &name) const |
| Returns whether an entry with the given name exists. More...
|
|
bool | metaValueExists (UInt index) const |
| Returns whether an entry with the given index exists. More...
|
|
void | setMetaValue (const String &name, const DataValue &value) |
| Sets the DataValue corresponding to a name. More...
|
|
void | setMetaValue (UInt index, const DataValue &value) |
| Sets the DataValue corresponding to an index. More...
|
|
void | removeMetaValue (const String &name) |
| Removes the DataValue corresponding to name if it exists. More...
|
|
void | removeMetaValue (UInt index) |
| Removes the DataValue corresponding to index if it exists. More...
|
|
void | getKeys (std::vector< String > &keys) const |
| Fills the given vector with a list of all keys for which a value is set. More...
|
|
void | getKeys (std::vector< UInt > &keys) const |
| Fills the given vector with a list of all keys for which a value is set. More...
|
|
bool | isMetaEmpty () const |
| Returns if the MetaInfo is empty. More...
|
|
void | clearMetaInfo () |
| Removes all meta values. More...
|
|
| RangeManager () |
| Default constructor. More...
|
|
| RangeManager (const RangeManager &rhs) |
| Copy constructor. More...
|
|
virtual | ~RangeManager () |
| Destructor. More...
|
|
RangeManager & | operator= (const RangeManager &rhs) |
| Assignment operator. More...
|
|
bool | operator== (const RangeManager &rhs) const |
| Equality operator. More...
|
|
bool | operator!= (const RangeManager &rhs) const |
| Equality operator. More...
|
|
const PositionType & | getMin () const |
| Returns the minimum position. More...
|
|
const PositionType & | getMax () const |
| Returns the maximum position. More...
|
|
double | getMinInt () const |
| Returns the minimum intensity. More...
|
|
double | getMaxInt () const |
| Returns the maximum intensity. More...
|
|
void | clearRanges () |
| Resets the ranges. More...
|
|
| DocumentIdentifier () |
| default constructor More...
|
|
| DocumentIdentifier (const DocumentIdentifier &source) |
| Copy constructor. More...
|
|
DocumentIdentifier & | operator= (const DocumentIdentifier &source) |
| Assignment operator. More...
|
|
bool | operator== (const DocumentIdentifier &rhs) const |
| Equality operator. More...
|
|
virtual | ~DocumentIdentifier () |
| destructor More...
|
|
void | setIdentifier (const String &id) |
| set document identifier (e.g. an LSID) More...
|
|
const String & | getIdentifier () const |
| retrieve document identifier (e.g. an LSID) More...
|
|
void | swap (DocumentIdentifier &from) |
| exchange content with from More...
|
|
void | setLoadedFilePath (const String &file_name) |
| set the file_name_ according to absolute path of the file loaded from preferably done whilst loading More...
|
|
const String & | getLoadedFilePath () const |
| get the file_name_ which is the absolute path to the file loaded from More...
|
|
void | setLoadedFileType (const String &file_name) |
| set the file_type according to the type of the file loaded from (see FileHandler::Type) preferably done whilst loading More...
|
|
const FileTypes::Type & | getLoadedFileType () const |
| get the file_type (e.g. featureXML, consensusXML, mzData, mzXML, mzML, ...) of the file loaded from More...
|
|
| UniqueIdInterface () |
| Default constructor - the unique id will be invalid More...
|
|
| UniqueIdInterface (const UniqueIdInterface &rhs) |
| Copy constructor - copies the unique id. More...
|
|
UniqueIdInterface & | operator= (UniqueIdInterface const &rhs) |
| Assignment operator - copies the unique id. More...
|
|
virtual | ~UniqueIdInterface () |
| Destructor. More...
|
|
bool | operator== (UniqueIdInterface const &rhs) const |
| Equality comparison operator - the unique ids must be equal (!) More...
|
|
UInt64 | getUniqueId () const |
| Non-mutable access to unique id - returns the unique id. More...
|
|
Size | clearUniqueId () |
| Clear the unique id. The new unique id will be invalid. Returns 1 if the unique id was changed, 0 otherwise. More...
|
|
void | swap (UniqueIdInterface &from) |
|
Size | hasValidUniqueId () const |
| Returns whether the unique id is valid. Returns 1 if the unique id is valid, 0 otherwise. More...
|
|
Size | hasInvalidUniqueId () const |
| Returns whether the unique id is invalid. Returns 1 if the unique id is invalid, 0 otherwise. More...
|
|
Size | setUniqueId () |
| Assigns a new, valid unique id. Always returns 1. More...
|
|
Size | ensureUniqueId () |
| Assigns a valid unique id, but only if the present one is invalid. Returns 1 if the unique id was changed, 0 otherwise. More...
|
|
void | setUniqueId (UInt64 rhs) |
| Assigns the given unique id. More...
|
|
void | setUniqueId (const String &rhs) |
| Mutable access to unique id. More...
|
|
Size | uniqueIdToIndex (UInt64 unique_id) const |
| Returns the index of the feature with the given unique id, or Size(-1) if none exists in this random access container. More...
|
|
void | updateUniqueIdToIndex () const |
| Updates the hash map from unique id to index. More...
|
|
Size | resolveUniqueIdConflicts () |
| Assign new UID's to doubly occurring UID's. More...
|
|
void | swap (UniqueIdIndexer &rhs) |
| Swap. More...
|
|
A container for features.
A map is a container holding 2-dimensional features, which in turn represent chemical entities (peptides, proteins, etc.) found in a 2-dimensional experiment.
Maps are implemented as vectors of features and have basically the same interface as an STL vector has (model of Random Access Container and Back Insertion Sequence).
Feature maps are typically created from peak data of 2D runs through the FeatureFinder.