Giter VIP home page Giter VIP logo

binderized-dockerfile-rstudio's Introduction

RStudio with Bioinformatics Packages that run in Binder

Binder

This deploys a Binder that exposes the RStudio UI instead of a Jupyter Notebook. It also installs several packages from the tidyverse, and includes a demo script to show off functionality. Plus, I added my favorite R-related items for bioinformatics.

Running RStudio session

To start your RStudio session once the Binder server has launched and you are greeted with the Jupyter dashboard, click on "New" in the top right, and at the bottom will be RStudio Session. Click that and your RStudio session will begin momentarily!

See instructions.ipynb for more details.

Post-fork differences

I had found I could do all or some of the following once running when launched from example Binder in the running RStudio session:

source("https://bioconductor.org/biocLite.R")
biocLite(c("tximport","DESeq2","readr","RColorBrewer","pheatmap")) #for tximport and DESeq2 
install.packages('rjson') #for tximport and DESeq2 
biocLite(c("edgeR","DOSE","KEGGREST","pathview","clusterProfiler")) # for EdgeR
OPTIONAL: biocLite(c("tximportData"))  #for tximport and DESeq2 

But those take a long time to install that way. I had tried adding using biocLite() approach in a Dockerfile first based on here, which was part of past of the image the Binder example was using. However, I couldn't get the libraries I had added to work because of errors about version of R and bioconductor packages not being compatible. Luckily when looking into something else, I saw here that taylorreiter was using RNA-seq and the approach there was to use the install.r (comparable to install.R I noted was already set up in the Dockerfile for example Binder in the running RStudio session to handle the biocLite() installations). Moving the handling of the Bioconductor-controlled packages there, seemed to fix my issues. As described here the biocLite() approach is the recommended way because it overcomes issues the 'standard' way R packages are installed.

Whet set up January 2018, it was getting the versions of items associated with Bioconductor 3.6 (R version 3.4.2). See here for help about checking version in running RStudio session or getting versions of Bioconductor packages if you know what version of Bioconductor you had used or are using.

binderized-dockerfile-rstudio's People

Contributors

betatim avatar carreau avatar cboettig avatar choldgraf avatar fomightez avatar yuvipanda avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.