Last active
April 22, 2019 19:24
-
-
Save jnpaulson/992f29134ba24af504f9e745680e489d to your computer and use it in GitHub Desktop.
Installation code for rnaseqTools
This file contains hidden or 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
downloadNotInstalled<-function(x){ | |
for(i in x){ | |
if(!require(i,character.only=TRUE)){ | |
if (!requireNamespace("BiocManager")){install.packages("BiocManager")} | |
BiocManager::install(i) | |
} | |
} | |
} | |
requiredPackages = c("Biobase", "S4Vectors","SummarizedExperiment","devtools","edgeR") | |
downloadNotInstalled(requiredPackages) | |
devtools::install_github(repo = "paulsoj1/rnaseqTools", | |
host = "https://github.roche.com/api/v3", | |
upgrade_dependencies = FALSE) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment