Class: Mspire::Quant::ProteinGroupComparison::Qspec

Inherits:
Object
  • Object
show all
Includes:
Mspire::Quant::ProteinGroupComparison
Defined in:
lib/mspire/quant/qspec/protein_group_comparison.rb

Instance Attribute Summary collapse

Attributes included from Mspire::Quant::ProteinGroupComparison

#experiments, #protein_group, #values

Instance Method Summary collapse

Constructor Details

#initialize(protein_group, experiments, qspec_results_struct) ⇒ Qspec

takes a protein group object, an array of experiment names and a qspec results struct



17
18
19
20
# File 'lib/mspire/quant/qspec/protein_group_comparison.rb', line 17

def initialize(protein_group, experiments, qspec_results_struct)
  super(protein_group, experiments, qspec_results_struct.counts_array)
  @qspec_results_struct = qspec_results_struct
end

Instance Attribute Details

#qspec_results_structObject

Returns the value of attribute qspec_results_struct.



13
14
15
# File 'lib/mspire/quant/qspec/protein_group_comparison.rb', line 13

def qspec_results_struct
  @qspec_results_struct
end