Looking what is inside of a particular method.
Method - spectra
Class - MSnExp
If method is exported (check NAMESPACE) then this will work.
getMethod("spectra","MSnExp")
Method Definition:
function (object)
{
sl <- as.list(assayData(object))
fnames <- featureNames(object)
return(sl[fnames])
}
Signatures:
object
target "MSnExp"
defined "MSnExp"
Showing slots for a given class
showClass("MSnExp")
showMethods(classes="MSnExp", where="package:MSnbase")
Debugging
trace(show, tracer=browser, signature=c(x="eSet"), where=getNamespace("Biobase"))