NAME
TFBS::PatternGen - a base class for pattern generators
DESCRIPTION
TFBS::PatternGen is a base class providing methods common to all pattern generating modules. It is meant to be inherited by a concrete pattern generator, which must have its own constructor.
pattern
Title : patternUsage : my $pattern_obj = $patterngen->pattern()Function: retrieves a pattern object produced by the pattern generatorReturns : a pattern object (currently available pattern generatorsreturn a TFBS::Matrix::PFM object)Args : noneWarning : If a pattern generator produces more than one pattern,this method call returns only the first one and printsa warning on STDERR, In those cases you should useI<all_patterns> or I<patternSet> methods.
patternSet
Title : patternSetUsage : my $patternSet = $patterngen->patternSet()Function: retrieves a pattern set object containing all the patternsproduced by the pattern generatorReturns : a pattern set object (currently available pattern generatorsreturn a TFBS::MatrixSet object)Args : none
all_patterns
Title : all_patternsUsage : my @patterns = $patterngen->all_patterns()Function: retrieves an array of pattern objectsproduced by the pattern generatorReturns : an array of pattern set objects (currently availablepattern generators return an array ofTFBS::Matrix::PFM objects)Args : none