template<class HitType>
struct OpenMS::IDFilter::HasDecoyAnnotation< HitType >
Is this a decoy hit?
A predicate to check if a HitType has decoy annotation.
This struct is used as a predicate to check if a HitType object has decoy annotation. It checks for the presence of "target_decoy" or "isDecoy" meta values in the HitType object.
Example usage:
bool hasDecoyAnnotation = hasDecoy(hit);
Represents a single spectrum match (candidate) for a specific tandem mass spectrum (MS/MS).
Definition PeptideHit.h:52
Is this a decoy hit?
Definition IDFilter.h:223
- Template Parameters
-
| HitType | The type of the Hit object to be checked. |