Created
February 16, 2018 05:19
-
-
Save lwaldron/220828bae0764a80fcf3a23868bf182e to your computer and use it in GitHub Desktop.
Install packages for Thomas Carroll ATAC-seq NYC R/Bioconductor meet-up
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mypkgs <- rownames(installed.packages()) | |
if (!require("BiocInstaller")) { | |
source("http://www.bioconductor.org/biocLite.R") | |
biocLite(ask = FALSE) | |
} | |
if (!require("devtools")) | |
biocLite("devtools", ask = FALSE) | |
requiredpkgs <- c( | |
"Rsamtools", | |
"GenomicAlignments", | |
"TxDb.Hsapiens.UCSC.hg19.knownGene", | |
"soGGi", | |
"rtracklayer", | |
"ChIPQC", | |
"ChIPseeker", | |
"rGREAT", | |
"limma", | |
"DESeq2", | |
"TxDb.Mmusculus.UCSC.mm10.knownGene", | |
"tracktables", | |
"clusterProfiler", | |
"org.Mm.eg.db", | |
"MotifDb", | |
"Biostrings", | |
"BSgenome.Hsapiens.UCSC.hg19", | |
"knitr", | |
"rmdformats", | |
"dplyr", | |
"DT", | |
"tidyr", | |
"ggplot2", | |
"magrittr", | |
"devtools", | |
"ThomasCarroll/soGGi" | |
) | |
biocLite(setdiff(requiredpkgs, mypkgs), ask = FALSE) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment