Class: Proph::ProtGroup

Inherits:
Object
  • Object
show all
Defined in:
lib/ms/ident/pepxml/prot_summary.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = nil) ⇒ ProtGroup

Returns a new instance of ProtGroup.



110
111
112
113
114
115
116
117
118
# File 'lib/ms/ident/pepxml/prot_summary.rb', line 110

def initialize(args=nil)
  @prots = []
  if args
    instance_var_set_from_hash(args)
  end
  if block_given?
    @prots = yield
  end
end

Instance Attribute Details

#group_numberObject

Returns the value of attribute group_number.



109
110
111
# File 'lib/ms/ident/pepxml/prot_summary.rb', line 109

def group_number
  @group_number
end

#probabilityObject

Returns the value of attribute probability.



109
110
111
# File 'lib/ms/ident/pepxml/prot_summary.rb', line 109

def probability
  @probability
end

#protsObject

Returns the value of attribute prots.



109
110
111
# File 'lib/ms/ident/pepxml/prot_summary.rb', line 109

def prots
  @prots
end