OpenMS
2.7.0
|
Bundles multiple (e.g. indistinguishable) proteins in a group. More...
#include <OpenMS/METADATA/ProteinIdentification.h>
Public Types | |
typedef OpenMS::DataArrays::FloatDataArray | FloatDataArray |
Float data array vector type. More... | |
typedef std::vector< FloatDataArray > | FloatDataArrays |
typedef OpenMS::DataArrays::StringDataArray | StringDataArray |
String data array vector type. More... | |
typedef std::vector< StringDataArray > | StringDataArrays |
typedef OpenMS::DataArrays::IntegerDataArray | IntegerDataArray |
Integer data array vector type. More... | |
typedef std::vector< IntegerDataArray > | IntegerDataArrays |
Public Member Functions | |
ProteinGroup () | |
bool | operator== (const ProteinGroup &rhs) const |
Equality operator. More... | |
bool | operator< (const ProteinGroup &rhs) const |
Public Attributes | |
double | probability |
Probability of this group. More... | |
std::vector< String > | accessions |
Accessions of (indistinguishable) proteins that belong to the same group. More... | |
data array methods | |
These methods are used to annotate protein group meta information. These statements should help you chose which approach to use
| |
FloatDataArrays | float_data_arrays_ |
Float data arrays. More... | |
StringDataArrays | string_data_arrays_ |
String data arrays. More... | |
IntegerDataArrays | integer_data_arrays_ |
Integer data arrays. More... | |
const FloatDataArrays & | getFloatDataArrays () const |
Returns a const reference to the float meta data arrays. More... | |
FloatDataArrays & | getFloatDataArrays () |
Returns a mutable reference to the float meta data arrays. More... | |
void | setFloatDataArrays (const FloatDataArrays &fda) |
Sets the float meta data arrays. More... | |
const StringDataArrays & | getStringDataArrays () const |
Returns a const reference to the string meta data arrays. More... | |
StringDataArrays & | getStringDataArrays () |
Returns a mutable reference to the string meta data arrays. More... | |
void | setStringDataArrays (const StringDataArrays &sda) |
Sets the string meta data arrays. More... | |
const IntegerDataArrays & | getIntegerDataArrays () const |
Returns a const reference to the integer meta data arrays. More... | |
IntegerDataArrays & | getIntegerDataArrays () |
Returns a mutable reference to the integer meta data arrays. More... | |
void | setIntegerDataArrays (const IntegerDataArrays &ida) |
Sets the integer meta data arrays. More... | |
IntegerDataArray & | getIntegerDataArrayByName (String name) |
Returns a mutable reference to the first integer meta data array with the given name. More... | |
StringDataArray & | getStringDataArrayByName (String name) |
Returns a mutable reference to the first string meta data array with the given name. More... | |
FloatDataArray & | getFloatDataArrayByName (String name) |
Returns a mutable reference to the first float meta data array with the given name. More... | |
const IntegerDataArray & | getIntegerDataArrayByName (String name) const |
Returns a const reference to the first integer meta data array with the given name. More... | |
const StringDataArray & | getStringDataArrayByName (String name) const |
Returns a const reference to the first string meta data array with the given name. More... | |
const FloatDataArray & | getFloatDataArrayByName (String name) const |
Returns a const reference to the first float meta data array with the given name. More... | |
Bundles multiple (e.g. indistinguishable) proteins in a group.
Float data array vector type.
typedef std::vector<FloatDataArray> FloatDataArrays |
Integer data array vector type.
typedef std::vector<IntegerDataArray> IntegerDataArrays |
String data array vector type.
typedef std::vector<StringDataArray> StringDataArrays |
ProteinGroup | ( | ) |
|
inline |
Returns a mutable reference to the first float meta data array with the given name.
|
inline |
Returns a const reference to the first float meta data array with the given name.
|
inline |
Returns a mutable reference to the float meta data arrays.
const FloatDataArrays& getFloatDataArrays | ( | ) | const |
Returns a const reference to the float meta data arrays.
|
inline |
Returns a mutable reference to the first integer meta data array with the given name.
|
inline |
Returns a const reference to the first integer meta data array with the given name.
IntegerDataArrays& getIntegerDataArrays | ( | ) |
Returns a mutable reference to the integer meta data arrays.
const IntegerDataArrays& getIntegerDataArrays | ( | ) | const |
Returns a const reference to the integer meta data arrays.
|
inline |
Returns a mutable reference to the first string meta data array with the given name.
|
inline |
Returns a const reference to the first string meta data array with the given name.
StringDataArrays& getStringDataArrays | ( | ) |
Returns a mutable reference to the string meta data arrays.
const StringDataArrays& getStringDataArrays | ( | ) | const |
Returns a const reference to the string meta data arrays.
bool operator< | ( | const ProteinGroup & | rhs | ) | const |
bool operator== | ( | const ProteinGroup & | rhs | ) | const |
Equality operator.
void setFloatDataArrays | ( | const FloatDataArrays & | fda | ) |
Sets the float meta data arrays.
void setIntegerDataArrays | ( | const IntegerDataArrays & | ida | ) |
Sets the integer meta data arrays.
void setStringDataArrays | ( | const StringDataArrays & | sda | ) |
Sets the string meta data arrays.
std::vector<String> accessions |
Accessions of (indistinguishable) proteins that belong to the same group.
|
private |
Float data arrays.
|
private |
Integer data arrays.
double probability |
Probability of this group.
|
private |
String data arrays.