[BioC] GOstats and htmlReport

Loren Engrav engrav at u.washington.edu
Tue Apr 27 18:15:38 CEST 2010


Thank you
Solved

> From: Seth Falcon <sfalcon at fhcrc.org>
> Date: Sun, 25 Apr 2010 21:01:20 -0700
> To: "bioconductor at stat.math.ethz.ch" <bioconductor at stat.math.ethz.ch>
> Subject: Re: [BioC] GOstats and htmlReport
> 
> 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
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives:
> http://news.gmane.org/gmane.science.biology.informatics.conductor



More information about the Bioconductor mailing list