GO::TermFinderReport::Text - prints results of GO::TermFinder as a text report


GO-TermFinder documentation  | view source Contained in the GO-TermFinder distribution.

Index


NAME

Top

GO::TermFinderReport::Text - prints results of GO::TermFinder as a text report

DESCRIPTION

Top

This print() method of this Perl module receives a reference to an the array that is the return value from the findTerms method of GO::TermFinder, the number of genes that were used to generate the terms, and the number of genes that were said to be in the genome. It will then generate a text report that summarizes those results. Optionally, filehandle and p-value cutoff arguments may also be passed in. It will return the

SYNOPSIS

Top

    use GO::TermFinder;
    use GO::TermFinderReport::Text;

    .
    .
    .

    my @pvalues = $termFinder->findTerms(genes=>\@genes);

    my $report  = GO::TermFinderReport::Text->new();

    open (OUT, ">report.text");

    my $numHypotheses = $report->print(pvalues  => \@pvalues,
                                       aspect   => $aspect,
                                       numGenes => scalar(@genes),
                                       totalNum => $totalNum,
                                       cutoff   => 0.01,
                                       fh       => \*OUT);

    close OUT;

new

This is the constructor.

Usage:

    my $report = GO::TermFinderReport::Text->new();

A GO::TermFinderReport::Text object is returned.

print

AUTHOR

Top

Gavin Sherlock

sherlock@genome.stanford.edu


GO-TermFinder documentation  | view source Contained in the GO-TermFinder distribution.