Class: Mspire::Lipid::Search::HitGroup
- Inherits:
-
Array
- Object
- Array
- Mspire::Lipid::Search::HitGroup
- Defined in:
- lib/mspire/lipid/search/hit.rb
Overview
A query that matched multiple items. Each search returns a hit group which consists of the best hits for that experimental m/z. When queried for values like delta or ppm, it will delegate to the first hit. So, in many ways it can be used as a container for hits, but it puts its best face forward.
Instance Method Summary collapse
- #best_hit ⇒ Object
- #decoy_qvalue ⇒ Object
-
#delta ⇒ Object
should implement with delegator obviously…
- #observed_mz ⇒ Object
- #ppm ⇒ Object
- #pvalue ⇒ Object
- #query_group ⇒ Object
- #qvalue ⇒ Object
- #theoretical_mz ⇒ Object
Instance Method Details
#best_hit ⇒ Object
74 |
# File 'lib/mspire/lipid/search/hit.rb', line 74 def best_hit() first end |
#decoy_qvalue ⇒ Object
72 |
# File 'lib/mspire/lipid/search/hit.rb', line 72 def decoy_qvalue() ; first.decoy_qvalue end |
#delta ⇒ Object
should implement with delegator obviously… should allow setting ???
65 |
# File 'lib/mspire/lipid/search/hit.rb', line 65 def delta() first.delta end |
#observed_mz ⇒ Object
69 |
# File 'lib/mspire/lipid/search/hit.rb', line 69 def observed_mz() first.observed_mz end |
#ppm ⇒ Object
66 |
# File 'lib/mspire/lipid/search/hit.rb', line 66 def ppm() first.ppm end |
#pvalue ⇒ Object
70 |
# File 'lib/mspire/lipid/search/hit.rb', line 70 def pvalue() ; first.pvalue end |
#query_group ⇒ Object
68 |
# File 'lib/mspire/lipid/search/hit.rb', line 68 def query_group() first.query_group end |
#qvalue ⇒ Object
71 |
# File 'lib/mspire/lipid/search/hit.rb', line 71 def qvalue() ; first.qvalue end |
#theoretical_mz ⇒ Object
67 |
# File 'lib/mspire/lipid/search/hit.rb', line 67 def theoretical_mz() first.theoretical_mz end |