Class: PeptideScoreDecoy

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/msf/models/peptide_score_decoy.rb

Overview

ActiveRecord model of MSF PeptideScoreDecoy

Example:

PeptideScoreDecoy.first.score

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.primary_keyObject



10
11
12
# File 'lib/msf/models/peptide_score_decoy.rb', line 10

def self.primary_key
  [:ProcessingNodeNumber, :PeptideID, :ScoreID]
end

.table_nameObject



7
8
9
# File 'lib/msf/models/peptide_score_decoy.rb', line 7

def self.table_name
  :PeptideScores_decoy
end

Instance Method Details

#peptide_idObject



16
17
18
# File 'lib/msf/models/peptide_score_decoy.rb', line 16

def peptide_id
  self.PeptideID
end

#processing_node_idObject



22
23
24
# File 'lib/msf/models/peptide_score_decoy.rb', line 22

def processing_node_id
  self.ProcessingNodeID
end

#processing_node_numberObject



13
14
15
# File 'lib/msf/models/peptide_score_decoy.rb', line 13

def processing_node_number
  self.ProcessingNodeNumber
end

#score_idObject



19
20
21
# File 'lib/msf/models/peptide_score_decoy.rb', line 19

def score_id
  self.ScoreID
end

#score_valueObject



25
26
27
# File 'lib/msf/models/peptide_score_decoy.rb', line 25

def score_value
  self.ScoreValue
end