Skip to contents

Current release

setRepositories(ind = 1:3) # to automatically install Bioconductor dependencies
install.packages("Signac")

Development version

Unreleased versions of Signac can be installed from the GitHub repository using the devtools package:

v1 develop branch

if (!requireNamespace("remotes", quietly = TRUE)) {
  install.packages("remotes")
}
remotes::install_github("stuart-lab/signac", ref = "develop")

v2 beta release

remotes::install_github("stuart-lab/signac", ref = "v2")

Old versions

Older Signac releases can be installed from the CRAN archive using devtools:

if (!requireNamespace("remotes", quietly = TRUE)) {
  install.packages("remotes")
}

# replace "0.2.5" with the version that you want to install
remotes::install_version(package = "Signac", version = package_version("0.2.5"))

Docker

We provide docker images for Signac via dockerhub.

To pull the latest image from the command line:

docker pull timoast/signac:latest

To use as a base image in a new Dockerfile:

FROM timoast/signac:latest

Conda

Signac can also be installed using conda. Note that if you use conda, you should install all packages through conda rather than R itself.

conda install -c bioconda r-signac

Installing genome assembly and gene annotation packages

It can also be useful (but not essential) to install species-specific packages containing genome and gene annotation information from Bioconductor.

This table from Ensembl provides a mapping of genome assembly to the corresponding gene annotation version.

Human hg19

BiocManager::install(c("BSgenome.Hsapiens.UCSC.hg19", "EnsDb.Hsapiens.v75"))

Human hg38

BiocManager::install(c("BSgenome.Hsapiens.UCSC.hg38", "EnsDb.Hsapiens.v86"))

Mouse mm10

BiocManager::install(c("BSgenome.Mmusculus.UCSC.mm10", "EnsDb.Mmusculus.v79"))