Skip to content

Instantly share code, notes, and snippets.

@jnpaulson
Last active April 22, 2019 19:24
Show Gist options
  • Save jnpaulson/992f29134ba24af504f9e745680e489d to your computer and use it in GitHub Desktop.
Save jnpaulson/992f29134ba24af504f9e745680e489d to your computer and use it in GitHub Desktop.
Installation code for rnaseqTools
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