Installation

Dependencies

R, version >= 3.6.0

Pre-request R packages

Install a released R package

Download a released version from https://github.com/jyyulab/NetBID/releases and run:

devtools::install_local('NetBID2_2.0.2.tar.gz')

Install from github master branch

# set repos, for R version 3.6.0, Bioconductor version 3.9
local({
  r <- getOption("repos")
  r["CRAN"] <- "https://cran.rstudio.com/"
  r["BioCsoft"] <- "https://bioconductor.org/packages/3.9/bioc"
  r["BioCann"] <- "https://bioconductor.org/packages/3.9/data/annotation"
  r["BioCexp"] <- "https://bioconductor.org/packages/3.9/data/experiment"
  options(repos = r)
})

Install without cloning the repository

devtools::install_github("jyyulab/NetBID",ref='master',dependencies='Depends') 

Or clone the repository and install locally:

devtools::install(pkg='.',dependencies=TRUE) ## Install the package with dependencies.
devtools::install_deps(pkg = ".", dependencies = TRUE) ## Install package dependencies if needed.