How do I show the source code of an S4 function in a package?

前端 未结 3 1626
小鲜肉
小鲜肉 2020-12-08 02:35

I used the packages topGO in R to analyze gene enrichment with the following code:

sampleGOdata <- new(\"topGOdata\", description = \"Simple session\",          


        
3条回答
  •  时光取名叫无心
    2020-12-08 03:13

    I know this is an old question, but for the sake of completeness for future searchers, there's also a function called

    selectMethod
    

    that varies from getMethod in that you can use inheritance. This is how I found source for a generic function that has multiple signatures.

提交回复
热议问题