Skip to content

Instantly share code, notes, and snippets.

@lwaldron
Created February 16, 2018 05:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lwaldron/220828bae0764a80fcf3a23868bf182e to your computer and use it in GitHub Desktop.
Save lwaldron/220828bae0764a80fcf3a23868bf182e to your computer and use it in GitHub Desktop.
Install packages for Thomas Carroll ATAC-seq NYC R/Bioconductor meet-up
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