Skip to content

Instantly share code, notes, and snippets.

@tianxiongbb
Last active January 16, 2018 21:25
Show Gist options
  • Save tianxiongbb/70b867715de3472855c2a66df0b3818d to your computer and use it in GitHub Desktop.
Save tianxiongbb/70b867715de3472855c2a66df0b3818d to your computer and use it in GitHub Desktop.
dmrseq installation via miniconda in R 3.4.1

A tutorial for those cannot install dmrseq via devtools like me:sob::sob::sob:


  1. install miniconda
  2. set bioconda channel:
    (conda config --add channels r)
    conda config --add channels defaults
    conda config --add channels conda-forge
    conda config --add channels bioconda
  3. install r 3.4.1 (3.4.2 have some conflict in bsseq package)
    conda install -c r r=3.4.1
  4. install dmrseq dependencies via conda (skip packages you already have)
    conda install bioconductor-bsseq
    conda install bioconductor-genomicranges
    conda install r-ggplot2
    conda install r-rcolorbrewer
    conda install bioconductor-biocparallel
    conda install r-outliers
    conda install bioconductor-GenomicFeatures
    conda install bioconductor-AnnotationHub
    conda install r-readr
    conda install bioconductor-bumphunter
    conda install bioconductor-TxDb.Hsapiens.UCSC.hg18.knownGene
  5. install annotatr via bioconductor (skip packages you already have) source("https://bioconductor.org/biocLite.R")
    biocLite("annotatr") #remove previous R_LIBS in your bashrc file to install this package in miniconda
  6. download dmrseq source code and install it manually
    git clone https://github.com/kdkorthauer/dmrseq.git
    R CMD INSTALL $PWD/dmrseq -l $HOME/miniconda2/lib/R/library/

You are all set!!! Cheer:sparkles::bear::sparkles:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment