OpenMS
NeighborSeq::NeighborStats Struct Reference

Statistics of how many neighbors were found per reference peptide. More...

#include <OpenMS/ANALYSIS/ID/NeighborSeq.h>

Collaboration diagram for NeighborSeq::NeighborStats:
[legend]

Public Member Functions

int total () const
 Sum of all 4 categories. More...
 
String unfindable () const
 Number of reference peptides that contain an 'X' (unknown amino acid), formatted as 'X (Y%)'. More...
 
String noNB () const
 Number of reference peptides that had no neighbors, formatted as 'X (Y%)'. More...
 
String oneNB () const
 Number of reference peptides that had exactly one neighbor, formatted as 'X (Y%)'. More...
 
String multiNB () const
 Number of reference peptides that had multiple neighbors, formatted as 'X (Y%)'. More...
 

Public Attributes

NeigborStats_members

Mutually exclusive categories of how many neighbors were found per reference peptide

int unfindable_peptides = 0
 how many ref-peptides contain an 'X' (unknown amino acid) and thus cannot be searched for neighbors More...
 
int findable_no_neighbors = 0
 how many peptides had no neighbors? More...
 
int findable_one_neighbor = 0
 how many peptides had exactly one neighbor? More...
 
int findable_multiple_neighbors = 0
 how many peptides had multiple neighbors? More...
 

Detailed Description

Statistics of how many neighbors were found per reference peptide.

Member Function Documentation

◆ multiNB()

String multiNB ( ) const
inline

Number of reference peptides that had multiple neighbors, formatted as 'X (Y%)'.

◆ noNB()

String noNB ( ) const
inline

Number of reference peptides that had no neighbors, formatted as 'X (Y%)'.

◆ oneNB()

String oneNB ( ) const
inline

Number of reference peptides that had exactly one neighbor, formatted as 'X (Y%)'.

◆ total()

int total ( ) const
inline

Sum of all 4 categories.

◆ unfindable()

String unfindable ( ) const
inline

Number of reference peptides that contain an 'X' (unknown amino acid), formatted as 'X (Y%)'.

Member Data Documentation

◆ findable_multiple_neighbors

int findable_multiple_neighbors = 0

how many peptides had multiple neighbors?

◆ findable_no_neighbors

int findable_no_neighbors = 0

how many peptides had no neighbors?

◆ findable_one_neighbor

int findable_one_neighbor = 0

how many peptides had exactly one neighbor?

◆ unfindable_peptides

int unfindable_peptides = 0

how many ref-peptides contain an 'X' (unknown amino acid) and thus cannot be searched for neighbors