Class: ProteinScore
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- ProteinScore
- Defined in:
- lib/msf/models/protein_score.rb
Overview
ActiveRecord model of MSF ProteinScore
Example:
ProteinScore.first.protein_score
Class Method Summary collapse
Instance Method Summary collapse
- #coverage ⇒ Object
- #processing_node_number ⇒ Object
- #protein_id ⇒ Object
- #protein_identification_group_id ⇒ Object
- #protein_score ⇒ Object
Class Method Details
.primary_key ⇒ Object
10 11 12 |
# File 'lib/msf/models/protein_score.rb', line 10 def self.primary_key [:ProcessingNodeNumber, :ProteinID] end |
.table_name ⇒ Object
7 8 9 |
# File 'lib/msf/models/protein_score.rb', line 7 def self.table_name :ProteinScores end |
Instance Method Details
#coverage ⇒ Object
25 26 27 |
# File 'lib/msf/models/protein_score.rb', line 25 def coverage self.Coverage end |
#processing_node_number ⇒ Object
13 14 15 |
# File 'lib/msf/models/protein_score.rb', line 13 def processing_node_number self.ProcessingNodeNumber end |
#protein_id ⇒ Object
16 17 18 |
# File 'lib/msf/models/protein_score.rb', line 16 def protein_id self.ProteinID end |
#protein_identification_group_id ⇒ Object
19 20 21 |
# File 'lib/msf/models/protein_score.rb', line 19 def protein_identification_group_id self.ProteinIdentificationGroupID end |
#protein_score ⇒ Object
22 23 24 |
# File 'lib/msf/models/protein_score.rb', line 22 def protein_score self.ProteinScore end |