Module: Bioroebe::ColourScheme

Defined in:
lib/bioroebe/colours/colour_schemes/colour_scheme.rb,
lib/bioroebe/colours/colour_schemes/turn.rb,
lib/bioroebe/colours/colour_schemes/helix.rb,
lib/bioroebe/colours/colour_schemes/score.rb,
lib/bioroebe/colours/colour_schemes/zappo.rb,
lib/bioroebe/colours/colour_schemes/buried.rb,
lib/bioroebe/colours/colour_schemes/simple.rb,
lib/bioroebe/colours/colour_schemes/strand.rb,
lib/bioroebe/colours/colour_schemes/taylor.rb,
lib/bioroebe/colours/colour_schemes/hydropathy.rb,
lib/bioroebe/colours/colour_schemes/nucleotide.rb,
lib/bioroebe/requires/require_all_colour_scheme_files.rb,
lib/bioroebe/colours/colour_schemes/array_available_colour_schemes.rb

Overview

Bioroebe::ColourScheme

Defined Under Namespace

Classes: Buried, Consensus, Helix, Hydropathy, Score, Simple, Strand, Taylor, Turn, Zappo

Constant Summary collapse

Nucleotide =
#

Bioroebe::ColourScheme::Nucleotide

#
NA = Nuc = Helix::Nucleotide
ARRAY_AVAILABLE_COLOUR_SCHEMES =
#

Bioroebe::ColourScheme::ARRAY_AVAILABLE_COLOUR_SCHEMES

Batch-load the various colour addons.

The score-subclasses are:

buried, helix, hydropathy, strand and turn.

The simple-subclasses are:

nucleotide, taylor and zappo.
#
%w(
  buried
  helix
  hydropathy
  nucleotide
  strand
  taylor
  turn
  zappo
)

Class Method Summary collapse

Class Method Details

.require_all_colour_scheme_files(i = ARRAY_AVAILABLE_COLOUR_SCHEMES) ⇒ Object

#

Bioroebe::ColourScheme.require_all_colour_scheme_files

#


16
17
18
19
20
21
22
# File 'lib/bioroebe/requires/require_all_colour_scheme_files.rb', line 16

def self.require_all_colour_scheme_files(
    i = ARRAY_AVAILABLE_COLOUR_SCHEMES
  ) 
  i.each {|file|
    require "bioroebe/colours/colour_schemes/#{file}"
  }
end