I'm trying to understand better how DESeq2 gets from my raw data to the results. For most functions in R, I type the function name in the console and get the full code used. There are a few important functions in DESeq2 that are lacking this information, and I'm not finding it from a simple Google search. Would greatly appreciate it if someone can point me in the right direction for this information.
As an example, trying to get the code written for estimateDispersions produces the following (note that running BiocGenerics::estimateDispersions gives the same results).
> estimateDispersions
standardGeneric for "estimateDispersions" defined from package "BiocGenerics"
function (object, ...)
standardGeneric("estimateDispersions")
<bytecode: 0x1080286f8>
<environment: 0x108020a40>
Methods may be defined for arguments: object
Use showMethods("estimateDispersions") for currently available ones.
Ah--thank you. I had used showMethods("estimateDispersions"), based on what I was seeing in the console, but was unaware of getMethod. This gives me what I need for this issue, and I'll keep it in mind for future use.