[BioC] How to see XStringSet's definition?

Martin Morgan mtmorgan at fhcrc.org
Mon May 24 00:13:35 CEST 2010


On 05/23/2010 01:04 PM, Peng Yu wrote:
> I'm trying to see the definition of XStringSet. But I don't know how
> to do it. I try to look at the source package. But there are so many
> 'XStringSet'.
> 
> Would you please let me know how to look for XStringSet's source code?
> 
>> Biostrings:::XStringSet
> standardGeneric for "XStringSet" defined from package "Biostrings"
> 
> function (basetype, x, start = NA, end = NA, width = NA, use.names = TRUE)
> standardGeneric("XStringSet")
> <environment: 0x3678848>
> Methods may be defined for arguments: x
> Use  showMethods("XStringSet")  for currently available ones.
>> showMethods('XStringSet')
> 
> Function "XStringSet":
>  <not a generic function>

  showMethods("XStringSet", where=getNamespace("Biostrings"),
              includeDef=TRUE)

or

  showMethods(Biostrings:::XStringSet, includeDef=TRUE)
  selectMethod(Biostrings:::XStringSet, "character")

for instance.

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