# How can I find out the code DRIMSeq uses to make dmplotProportions objects?

I'm using DRIMSeq to do some analysis but I'd like to make my own figures from the results ideally using what they've done as a base.

I'm trying to find how they make their ggplot objects in the function plotProportoins but when I use findMethods('plotProportoins') it ends up with a method dmPlotProportoins.

It says in the manual that it's a ggplot object but I can't seem to find how they make it. Any ideas?

• You can look at the source code of the package and see how they create the object. – llrs Nov 23 '17 at 11:16
• What's the best way to do it? findMethods gives me the source code of the function but how can I get the code of the whole package? (sorry if the answer should be obvious) – Sethzard Nov 23 '17 at 11:23
• In the tar ball you have the source code of the package. – llrs Nov 23 '17 at 11:34
• I didn't know that was a thing. Brilliant, thank you! – Sethzard Nov 23 '17 at 11:35

wget http://bioconductor.org/packages/release/bioc/src/contrib/DRIMSeq_1.6.0.tar.gz