Class: AminoAcidModificationNeutralLoss
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- AminoAcidModificationNeutralLoss
- Defined in:
- lib/msf/models/amino_acid_modification_neutral_loss.rb
Overview
ActiveRecord model of MSF AminoAcidModificationsNeutralLoss
Example:
AminoAcidModificationNeutralLoss.find(1)
AminoAcidModificationNeutralLoss.first
AminoAcidModificationNeutralLoss.first.amino_acids.first.monoisotopic_mass
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.primary_key ⇒ Object
12 13 14 |
# File 'lib/msf/models/amino_acid_modification_neutral_loss.rb', line 12 def self.primary_key :NeutralLossID end |
.table_name ⇒ Object
9 10 11 |
# File 'lib/msf/models/amino_acid_modification_neutral_loss.rb', line 9 def self.table_name :AminoAcidModificationsNeutralLosses end |
Instance Method Details
#average_mass ⇒ Object
24 25 26 |
# File 'lib/msf/models/amino_acid_modification_neutral_loss.rb', line 24 def average_mass self.AverageMass end |
#monoisotopic_mass ⇒ Object
21 22 23 |
# File 'lib/msf/models/amino_acid_modification_neutral_loss.rb', line 21 def monoisotopic_mass self.MonoisotopicMass end |
#name ⇒ Object
18 19 20 |
# File 'lib/msf/models/amino_acid_modification_neutral_loss.rb', line 18 def name self.Name end |
#neutral_loss_id ⇒ Object
15 16 17 |
# File 'lib/msf/models/amino_acid_modification_neutral_loss.rb', line 15 def neutral_loss_id self.NeutralLossID end |