MarchR is feature-rich R package for large-scale single-cell multi-omic processing and analysis. Built on top of BPCells disk-backed streaming and extended ArchR functionality. It provides user-friendly object-oriented interfaces for managing genomic datasets, matrices, fragments, and associated metadata.
Public Beta. MarchR is under active development and the API may change. Install a tagged release for reproducible analyses.
- R>=4.4.0
- C++20 compiler
- HDF5 C library for BPCells.
Debian / Ubuntu Linux
On Debian or Ubuntu, install the build tools and libraries needed to build MarchR and its R dependencies from source.
sudo apt update
sudo apt install build-essential gfortran pkg-config \
libhdf5-dev libcurl4-openssl-dev libpng-devmacOS
On macOS, install the Xcode Command Line Tools and HDF5 via Homebrew. On Apple Silicon, use arm64 builds of R and HDF5. BPCells installation guide
xcode-select --install
brew install hdf5In R, install the beta release and its required packages. remotes installs
BPCells from GitHub and the other dependencies from CRAN and Bioconductor.
install.packages(c("remotes", "BiocManager"), repos = "https://cloud.r-project.org")
options(repos = BiocManager::repositories()) # CRAN + Bioconductor
remotes::install_github("GreenleafLab/MarchR@v1.0.0")Open a fresh R session to check that MarchR loads and can create a project.
library(MarchR)
packageVersion("MarchR")
MarchRProject()Install the packages for the workflows you use.
Optional R packages
install.packages(c(
"harmony", # batch correction / integration
"Seurat", # RNA integration
"Rtsne", # t-SNE embeddings
"ggseqlogo" # motif sequence logos (plot_motif_logo)
))Genomic ranges, motif analysis, and export packages are available from Bioconductor.
BiocManager::install(c(
"chromVAR", "motifmatchr", # TF motif deviations & matching
"TFBSTools", "JASPAR2020", # motif databases
"BSgenome", "Biostrings", # genome sequence access
"BSgenome.Hsapiens.UCSC.hg19", # use the reference for your genome assembly
"GenomicRanges", "IRanges",
"SummarizedExperiment", "S4Vectors",
"Rsamtools" # bgzip and Tabix export
))Install curated motif sets from GitHub for motif enrichment or chromVAR.
remotes::install_github("GreenleafLab/chromVARmotifs")- Peak calling requires MACS
(MACS3 preferred, MACS2 supported) on your
PATH. Install viapip install macs3.
igraph 2.3.4 - Leiden clustering fails with a memory allocation error on a large dataset
If Leiden clustering with igraph 2.3.4 fails with a memory allocation error on a large dataset, install igraph 2.2.2 and restart R before loading MarchR. Upstream igraph fix
remotes::install_version("igraph", version = "2.2.2")Report beta bugs and installation problems on GitHub. Include the command that
failed, the full error, and the output of sessionInfo().
MarchR issues
- Hematopoiesis Tutorial for a first scATAC-seq analysis
- Multiome Tutorial for joint ATAC and RNA analysis
- Function Documentation
- Release Notes
If you use MarchR in your research, please cite:
Liu ESX, Abdi I, Corces MR, Greenleaf WJ (2026). MarchR: Multi-Assay Multi-Dataset
Disk-Backed Analysis. R package version 1.0.0. https://greenleaflab.github.io/MarchR/