diagnostic_rt_qpcr/operation_types/prepare_master_mix/protocol.rb
# Build table for volumes of master mix components
#
# @param composition [PCRComposition]
# @param sample_number [Fixnum]
# @return [Array<Array>] a 2D array formatted for the `table` method in Krill
Build table for volumes of master mix components
Build table for volumes of master mix components
def master_mix_table(composition:, sample_number:)
    header = [
      'Component',
      composition.master_mix.display_name,
      composition.water.display_name
    ]
    row = [
      "Volume (#{MICROLITERS})",
      composition.master_mix.add_in_table(sample_number),
      composition.water.add_in_table(sample_number)
    ]
    [header, row].transpose
  end
def master_mix_table ( composition : , sample_number : ) header = [ 'Component' , composition . master_mix . display_name , composition . water . display_name ] row = [ "Volume (#{MICROLITERS})" , composition . master_mix . add_in_table ( sample_number ) , composition . water . add_in_table ( sample_number ) ] [ header , row ] . transpose end
Build table for volumes of master mix components
Build table for volumes of master mix components
a 2D array formatted for the `table` method in Krill
a 2D array formatted for the ` table ` method in Krill
Array<Array>
composition
<not_specific>
sample_number
<not_specific>
<not_specific>
None