[BioC] How to show the definition of readFastq

Martin Morgan mtmorgan at fhcrc.org
Sat May 22 23:44:37 CEST 2010


On 05/22/2010 02:30 PM, Peng Yu wrote:
> I want to show the definition of readFastq. But showMethods doesn't
> show the function where I can find the body. Would you please let me
> know how to show the body of the function.
> 
>> library(ShortRead)
>> showMethods('readFastq')
> Function: readFastq (package ShortRead)
> dirPath="SolexaPath"
> dirPath="character"

Hi Peng --

Use

  showMethods(readFastq, includeDef=TRUE)

perhaps add class="character" or use selectMethod; later you might find
it useful to remember ::: as a way to see unexported functions.

Martin
-- 
Martin Morgan
Computational Biology / Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N.
PO Box 19024 Seattle, WA 98109

Location: Arnold Building M1 B861
Phone: (206) 667-2793



More information about the Bioconductor mailing list