Skip to content
Prev 1751 / 21312 Next

[Bioc-devel] implementing interfaces

James Bullard wrote:
showMethods(class="AffyBatch")

gets you some of the way there. But in a brand spanking new session it 
shows nothing (because the packages where methods are defined, e.g., 
affy, has not been loaded) and this illustrates a fundamental problem: 
the interface to AffyBatch is dynamically determined by loaded packages.

Likely you'd invoke

showMethods(class="AffyBatch", where=getNamespace("affy")

to get a kind of base-line set of expected methods, i.e., those visible 
from affy.

AshowMethods returns a connection (!) which is basically useless for 
programmatic purposes, e.g., adheresTo().

Martin