[BioC] GOstats and htmlReport
Seth Falcon
sfalcon at fhcrc.org
Mon Apr 26 06:01:20 CEST 2010
Hi Loren,
On 4/25/10 6:13 PM, Loren Engrav wrote:
> Have GOstats up and see
>
>> GOstatsSummary01 <- summary(GOstatsOver01, htmlLinks="true")
>
>> class(GOstatsSummary01)
> [1] "data.frame"
>
>> htmlReport(GOstatsSummary01, file="GOstatsSummary01.html")
> Error in function (classes, fdef, mtable) :
> unable to find an inherited method for function "htmlReport", for
> signature "data.frame"
>
> What am I missing please?
The documentation? :-)
htmlReport is expecting a HyperGResult object. So I think you should be
able to call:
htmlReport(GOstatsOver01).
I can see how you may have been misled by the docs, which say:
> htmlReport writes an HTML version of the table produced by the
> ‘summary’ method.
But the next sentence is:
> The first argument should be a
> ‘HyperGResult’ instance (or subclass).
+ seth
More information about the Bioconductor
mailing list