Answers.Body: <p>I was curious how they have done it as well, so here expanded @Liopis comment :</p>
  
  <pre><code>wget http://bioconductor.org/packages/release/bioc/src/contrib/DRIMSeq_1.6.0.tar.gz
  tar -zxf DRIMSeq_1.6.0.tar.gz 
  # if you need to find it, or use grep
  # find DRIMSeq -name "dm_plotProportions.R"
  less DRIMSeq/R/dm_plotProportions.R
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-23T15:26:22.713Z
Answers.Text: This is planned to change and be able to look at the code thorough a web interface
Answers.UserDisplayName: llrs
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-23T13:40:00.857Z
Answers.LastActivityDate: 2017-11-23T13:40:00.857Z
Answers.UserDisplayName: Kamil S Jaron
Body: <p>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.</p>
  
  <p>I'm trying to find how they make their ggplot objects in the function <code>plotProportoins</code> but when I use <code>findMethods('plotProportoins')</code> it ends up with a method <code>dmPlotProportoins</code>.</p>
  
  <p>It says in the manual that it's a <em>ggplot</em> object but I can't seem to find how they make it. Any ideas?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-11-23T11:16:24.843Z
Comments.Text: You can look at the source code of the package and see how they create the object.
Comments.UserDisplayName: llrs
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-11-23T11:23:14.613Z
Comments.Text: 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)
Comments.UserDisplayName: Sethzard
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-11-23T11:34:02.037Z
Comments.Text: In the tar ball you have the source code of the package.
Comments.UserDisplayName: llrs
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-11-23T11:35:50.793Z
Comments.Text: I didn't know that was a thing. Brilliant, thank you!
Comments.UserDisplayName: Sethzard
Tags: <rna-seq><r><rna-splicing><ggplot2>
Title: How can I find out the code DRIMSeq uses to make dmplotProportions objects?
ThreadText: # How can I find out the code DRIMSeq uses to make dmplotProportions objects?
  
  (Asked by: username_0 on 2017-11-23)
  
  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?
  
  **Tags:** rna-seq, r, rna-splicing, ggplot2
  
  > **Comments:**
  > **username_1**: You can look at the source code of the package and see how they create the object.  
  > **username_0**: 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)  
  > **username_1**: In the tar ball you have the source code of the package.  
  > **username_0**: I didn't know that was a thing. Brilliant, thank you!  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2017-11-23. Score: 4 | Accepted answer
  
  I was curious how they have done it as well, so here expanded @Liopis comment :
  
  ```
  wget http://bioconductor.org/packages/release/bioc/src/contrib/DRIMSeq_1.6.0.tar.gz
  tar -zxf DRIMSeq_1.6.0.tar.gz 
  # if you need to find it, or use grep
  # find DRIMSeq -name "dm_plotProportions.R"
  less DRIMSeq/R/dm_plotProportions.R
  
  ```
  
  > **Comments:**
  > **username_1**: This is planned to change and be able to look at the code thorough a web interface  
  
  ---
  
  