maftools
maftools copied to clipboard
Added Dockerfile
Dockerizing the application.
Hi, I was about to ask you. Im sorry, I have very little knowledge about docker. So this will be the docker file ? I'm still trying to understand how docker containers work.
Hi there! Docker uses virtual container to wrap an application with all the needed dependences.
so for Example you could do
docker run -it sevenbridges/maftools:dockerizeit R
which will pull a Docker Image with maftools installed and drop you into an R console.
mattions@apollo:~$ docker run -it sevenbridges/maftools:dockerizeit R
R version 3.2.3 (2015-12-10) -- "Wooden Christmas-Tree"
Copyright (C) 2015 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library("maftools")
Warning messages:
1: replacing previous import by 'grid::arrow' when loading 'maftools'
2: replacing previous import by 'grid::unit' when loading 'maftools'
3: replacing previous import by 'ggplot2::unit' when loading 'NMF'
4: replacing previous import by 'ggplot2::arrow' when loading 'NMF'
>
BTW, I'm not super expert in installing R script, but does this line: https://github.com/PoisonAlien/maftools/pull/6/files#diff-3254677a7917c6c01f55212f86c57fbfR19 makes sense to build and install the package locally?