TFBS SitePair
Included librariesPackage variablesGeneral documentationMethods
Package variables
No package variables defined.
Included modules
Bio::SeqFeature::FeaturePair
Inherit
Bio::SeqFeature::FeaturePair
Synopsis
No synopsis!
Description
No description!
Methods
GFFDescriptionCode
new
No description
Code
patternDescriptionCode
site1DescriptionCode
site2DescriptionCode
Methods description
GFFcode    nextTop
 Title   : GFF
Usage : print $site->GFF();
: print $site->GFF($gff_formatter)
Function: returns a "standard" multiline GFF string
Returns : a string (multiline, newline terminated)
Args : a $gff_formatter function reference (optional)
patterncodeprevnextTop
 Title   : pattern
Usage : my $pattern = $sitepair->pattern(); # gets the pattern
# sets the pattern to $pwm
Function: gets the pattern object associated with the site pair
Returns : pattern object, here TFBS::Matrix::PWM object
Args : none (get-only method)
site1codeprevnextTop
site2codeprevnextTop
 Title   : site1
site2
Usage : my $site1 = $sitepair->site1();

Function: Returns individual TFBS::Site objects, from the site pair
Returns : a TFBS::Site
Args : none
Methods code
GFFdescriptionprevnextTop
sub GFF {
    return join "\n",  $_[0]->site1->GFF, $_[0]->site2->GFF;
}
newdescriptionprevnextTop
sub new {
    my ($caller, $site1, $site2) = @_;
    #if ($Bio::Root::Root::VERSION < 1.4) {
#return $caller->SUPER::new($site1, $site2);
#}
#else {
return $caller->SUPER::new(-feature1 => $site1, -feature2 => $site2); #}
# ^ Version check commented out because from BioPerl 1.5.2
# version nrs are represented differently. // PE 2007-7-11
}
patterndescriptionprevnextTop
sub pattern {
    $_[0]->feature1->pattern();
}
site1descriptionprevnextTop
sub site1 {
    $_[0]->feature1();
}
site2descriptionprevnextTop
sub site2 {
    $_[0]->feature2();
}
General documentation
No general documentation available.