Method base_relative_entropy Classpackage G::Seq::Consensus; Function Calculates the relative entropy of base_counter Description By recieving the returned result of the base_counter, this method calculates the relative entropy around the start/end codon. The relative entropy is calculated per position from the start/end codon. Requirements modules SubOpt.pm &G::Tools::Graph::_UniUniGrapher applications none data none Parameters essential first pointer G_instance G's instance option output string [stdout/f/g/show] default=show filename string file_name default=consensus.csv PatLength int pattern_length default=3 upstream int upstream default=30 downstream int downstream default=30 position string position default=end Returns first variable result pointer of array Usage (array result)=&base_relative_entropy(hash base_counter_result, -output=>"show",filename=>"consensus.csv",PatLength=>3,upstream=>30,downstream=>30,position=>"end"); Input file csv file in text format Output file csv file in text format grapph file in text format References none Comments none Authors This method was written by Koya Mori(mory@g-language.org) at Institute for Advanced Biosciences Keio Univ. History Written 14 July 2001 - Koya Mori