Re: [Rd] [Bioc-devel] promptClass

From: Martin Morgan <mtmorgan_at_fhcrc.org>
Date: Sat, 26 May 2007 21:44:27 -0700

promptClass fails to identify methods associated with the class. Here is a fix:

Index: promptClass.R


Seth Falcon <sfalcon_at_fhcrc.org> writes:

> cstrato <cstrato_at_aon.at> writes:
>
>> Dear all,
>>
>> What is the best way to write the docs for S4 classes?
>>
>> Concretely, is it  possible to include the methods in the class 
>> documentation?
>> For example, the documentation for class "AffyBatch" contains all methods.
>> However, when I do:
>>    promptClass("AffyBatch")
>> the relevant output of file "AffyBatch-class.Rd" is:
>>    \section{Methods}{
>>    No methods defined with class "AffyBatch" in the signature.
>>    }
>
> promptClass used to provide more useful output.  You might want to
> report the issue on one of the R lists.
>
>> Since PromptClass() contains a parameter "where" is it possible to use 
>> it, and how?
>
> I'm not sure that is relevant here.
>
> One thing that can be useful here is showMethods(classes="AffyBatch").
> The problem with static documentation for methods is that what methods
> are available can change based on what packages are attached.
>
> If showMethods or a wrapper for it could be convinced to output a link
> to a help file, then it might actually be a good way to go...
>
> + seth
>
> -- 
> Seth Falcon | Computational Biology | Fred Hutchinson Cancer Research Center
> http://bioconductor.org
>
> _______________________________________________
> Bioc-devel_at_stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel

-- 
Martin Morgan
Bioconductor / Computational Biology
http://bioconductor.org

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Sun 27 May 2007 - 04:47:27 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 28 May 2007 - 11:33:41 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.