class Bio::KB::Annotation::Illumina::GeneExpression

Public Class Methods

annotation=(annotation_name) click to toggle source

Set the table for further use

# File lib/bio/annotation/illumina/gene_expression.rb, line 25
def self.annotation=(annotation_name)
  if self.list_annotations.include? annotation_name
    self.reset_column_information
    self.table_name=annotation_name
  else
    puts "Annotation named: #{annotation_name} doesn't exist. Please select one from #{self.list_annotations}"
  end
end
list_annotations() click to toggle source

self.table_name = nil? HumanHT12_V3_0_R1_11283641_A

# File lib/bio/annotation/illumina/gene_expression.rb, line 20
def self.list_annotations
    self.connection.tables.select{|table_name| table_name=~/Human/}
end