Installation

GitHub hosts platform-specific (i.e. OS X/Linux/Windows) binary releases and source code for the R package spacemap. Installing R is prerequisite, preferably a recent version. See below for more instructions.

Binary Release

Download the platform-specific binary, which was built on R version 3.4.0. We recommend upgrading to the most recent version of R before installing spacemap.

R Package Dependencies

Prior to using a spacemap binary, please be sure to install package dependencies in R's console as follows:

install.packages(c("Rcpp", "RcppArmadillo", 
                   "foreach", "rngtools", 
                   "Matrix", "igraph", 
                   "ggplot2", "reshape2"))
## try http:// if https:// URLs are not supported
source("http://bioconductor.org/biocLite.R")
biocLite("GenomicRanges")

Older Releases

Older releases of the R package spacemap are available on the GitHub releases page

From Source

If you wish to build the package from source files, please use the devtools package and install from the GitHub repository.

library(devtools)
install_github(repo = "topherconley/spacemap", vignettes = FALSE)