-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrequirements.R
28 lines (24 loc) · 1.5 KB
/
requirements.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/env Rscript
# # install required R packages (also available via conda channel)
# install.packages("bio3d", dependencies=TRUE)
# install.packages("optparse", dependencies=TRUE)
# if (!require("BiocManager", quietly = TRUE))
# install.packages("BiocManager")
# BiocManager::install("msa")
# install.packages("ggplot2", dependencies=TRUE)
# install.packages("pheatmap", dependencies=TRUE)
# install required R packages (not available via conda channel)
# if setting CRAN mirror is required use the below.
# It will use the cloud mirror which automatically serves the files from a location near you.
# install.packages("devtools", dependencies=TRUE, repos = c(CRAN = "https://cloud.r-project.org"))
# library(devtools)
# devtools::install_bitbucket("Grantlab/bio3d", subdir = "bio3d-core", ref="core", dependencies=TRUE)
# devtools::install_bitbucket("Grantlab/bio3d-eddm", dependencies=TRUE)
#install.packages("remotes", dependencies=TRUE, repos = c(CRAN = "https://cloud.r-project.org"))
library(remotes) # remotes package is lighter than devtools and available on conda channels
remotes::install_bitbucket("Grantlab/bio3d/bio3d-core", ref="core", dependencies=TRUE)
remotes::install_bitbucket("Grantlab/bio3d-eddm", dependencies=TRUE)
# for conserved water analysis
#remotes::install_github("exeResearch/vanddraabe") # does only work with PDBs downloaded from the PDB
# install vanddraabe with modified scripts from local compressed directory
remotes::install_local("./external_packages/vanddraabe.zip", force = TRUE)