Method: Matrix#barcode

Defined in:
lib/rbbt/expression_old/matrix.rb

#barcode(path = nil, factor = 2) ⇒ Object



75
76
77
78
79
80
81
82
# File 'lib/rbbt/expression_old/matrix.rb', line 75

def barcode(path = nil, factor = 2)
  path ||= Persist.persistence_path(matrix_file, {:dir => File.join(Matrix::MATRIX_DIR, 'sample_differences')}, {:main => main, :contrast => contrast, :log2 => log2, :channel => channel})
  Persist.persist(data, :tsv, :file => path, :no_load => true, :check => [matrix_file]) do
    Expression.barcode(matrix_file, path, factor)
    nil
  end
  path
end