Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ renv.lock
*.tar.gz
.worktrees/
docs
vignettes/*.html
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,16 +143,16 @@ failed, the full error, and the output of `sessionInfo()`.

## Documentation

- [Hematopoiesis tutorial](vignettes/marchr_hematopoiesis.Rmd) for a first scATAC-seq analysis
- [Multiome tutorial](vignettes/marchr_multiome.Rmd) for joint ATAC and RNA analysis (work in progress)
- [Function documentation](man/)
- [Release notes](NEWS.md)
- [Hematopoiesis Tutorial](https://greenleaflab.github.io/MarchR/articles/marchr_hematopoiesis.html) for a first scATAC-seq analysis
- [Multiome Tutorial](https://greenleaflab.github.io/MarchR/articles/marchr_multiome.html) for joint ATAC and RNA analysis
- [Function Documentation](https://greenleaflab.github.io/MarchR/reference/index.html)
- [Release Notes](https://greenleaflab.github.io/MarchR/news/index.html)

### Citation

If you use MarchR in your research, please cite:

```
Liu E, Abdi I. (2026). MarchR: Multi-Assay Multi-Dataset Disk-Backed Analysis.
R package version 1.0.0. https://github.com/GreenleafLab/MarchR
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/
```
16 changes: 12 additions & 4 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ template:
navbar-bg: "#282828"
includes:
in_header: |
<link rel="icon" type="image/svg+xml" href="https://greenleaflab.github.io/MarchR/reference/figures/MarchR_Icon.svg">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.15/dist/katex.min.css" integrity="sha384-Htz9HMhiwV8GuQ28Xr9pEs1B4qJiYu/nYLLwlDklR53QibDfmQzi7rYxXhMH/5/u" crossorigin="anonymous">
<!-- The loading of KaTeX is deferred to speed up page rendering -->
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.15/dist/katex.min.js" integrity="sha384-bxmi2jLGCvnsEqMuYLKE/KsVCxV3PqmKeK6Y6+lmNXBry6+luFkEOsmp5vD9I/7+" crossorigin="anonymous"></script>
Expand Down Expand Up @@ -74,25 +75,32 @@ navbar:
text: Tutorials
icon: fa-book-open
menu:
- text: Hematopoiesis
- text: Quick Tutorial
href: articles/marchr_hematopoiesis.html
- text: ChromBPNet Export
href: articles/marchr_chrombpnet.html
- text: Multiome
href: articles/marchr_multiome.html
- text: ChromBPNet Export
href: articles/marchr_chrombpnet.html
- text: scE2G Export
href: articles/marchr_scE2G.html
repo:
url:
home: https://github.com/GreenleafLab/MarchR
issue: https://github.com/GreenleafLab/MarchR/issues
user: https://github.com/
home:
sidebar:
structure: [bug_links, license, community, citation, authors, dev]
components:
bug_links:
title: Links
text: "[Report a bug](https://github.com/GreenleafLab/MarchR/issues)"
articles:
- title: Tutorials
contents:
- marchr_hematopoiesis
- marchr_chrombpnet
- marchr_multiome
- marchr_chrombpnet
- marchr_scE2G
reference:
- title: All Functions
Expand Down
1 change: 1 addition & 0 deletions man/figures/MarchR_Icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 27 additions & 18 deletions pkgdown/extra.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Code styling: clean neutral "light gray box" look (NumPy-style), replacing
// gruvbox's yellow/colored syntax highlighting with calm, readable tones.
// Code styling: light gray code boxes with a GitHub-style syntax palette.

// Code blocks: light gray box in light mode, muted dark box in dark mode.
div.sourceCode,
Expand All @@ -26,26 +25,36 @@ pre {
background-color: rgba(255, 255, 255, 0.10);
}

// Flatten syntax highlighting to neutral text so nothing renders yellow.
// !important is needed to beat gruvbox's per-token class selectors
// (e.g. `code span.at`), which outrank an element-only selector.
// Comments stay a muted gray so code is still easy to scan.
pre code span {
color: #24292f !important;
}
pre code span.co,
pre code span.cn {
// Syntax colors: functions purple, strings dark blue, numbers and constants blue, keywords red,
// argument names orange, comments gray italic. Other tokens (variables, operators) use the
// default text color, so none of gruvbox's colors show through. !important is needed to beat
// gruvbox's per-token class selectors (e.g. `code span.at`).
pre code span { color: #24292f !important; }
pre code span.fu { color: #8250df !important; }
pre code span.st { color: #0a3069 !important; }
pre code span.fl,
pre code span.dv,
pre code span.cn,
pre code span.bu { color: #0550ae !important; }
pre code span.kw,
pre code span.cf { color: #cf222e !important; }
pre code span.at { color: #953800 !important; }
pre code span.co {
color: #6e7781 !important;
font-style: italic;
}

[data-bs-theme="dark"] pre code span {
color: #c9d1d9 !important;
}
[data-bs-theme="dark"] pre code span.co,
[data-bs-theme="dark"] pre code span.cn {
color: #8b949e !important;
}
[data-bs-theme="dark"] pre code span { color: #c9d1d9 !important; }
[data-bs-theme="dark"] pre code span.fu { color: #d2a8ff !important; }
[data-bs-theme="dark"] pre code span.st { color: #a5d6ff !important; }
[data-bs-theme="dark"] pre code span.fl,
[data-bs-theme="dark"] pre code span.dv,
[data-bs-theme="dark"] pre code span.cn,
[data-bs-theme="dark"] pre code span.bu { color: #79c0ff !important; }
[data-bs-theme="dark"] pre code span.kw,
[data-bs-theme="dark"] pre code span.cf { color: #ff7b72 !important; }
[data-bs-theme="dark"] pre code span.at { color: #ffa657 !important; }
[data-bs-theme="dark"] pre code span.co { color: #8b949e !important; }

// Package version beside the navbar title, shown as a badge. The navbar background is
// fixed in both themes, so one rule covers light and dark. !important beats the
Expand Down
12 changes: 7 additions & 5 deletions vignettes/marchr_chrombpnet.Rmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Exporting Pseudobulks for ChromBPNet with MarchR (WIP)"
title: "Exporting Pseudobulks for ChromBPNet with MarchR"
author: "Eric Liu"
output:
html_document:
Expand All @@ -22,7 +22,7 @@ local({
buf <- new.env(parent = emptyenv())
buf$txt <- character(0)
collect <- function(x, options) {
buf$txt <- c(buf$txt, x)
buf$txt <- c(buf$txt, gsub(path.expand("~"), "~", x, fixed = TRUE))
""
}
esc <- function(x) {
Expand Down Expand Up @@ -82,6 +82,8 @@ details.marchr-log .marchr-log-body {
}
```

> **Tutorial is currently a work in progress (WIP).**

## Introduction

[ChromBPNet](https://github.com/kundajelab/chrombpnet) learns base-resolution chromatin accessibility
Expand All @@ -91,7 +93,7 @@ fragments by cluster instead of sample to train cluster-specific ChromBPNet mode

This tutorial provides instructions to setup your single-cell ATAC datasets from your MarchRProject
directly for ChromBPNet model training.
It continues from the end of the [MarchR Hematopoiesis tutorial](marchr_hematopoiesis.html) and
It continues from the end of the [MarchR Hematopoiesis Tutorial](marchr_hematopoiesis.html) and
exports the files that the ChromBPNet pipeline reads.
**We highly recommend you read the [ChromBPNet Wiki](https://github.com/kundajelab/chrombpnet/wiki)
prior to starting this tutorial.**
Expand Down Expand Up @@ -120,7 +122,7 @@ library(MarchR)
set_threads(4)
```

The Hematopoiesis tutorial saved its project to `cache_dir`.
The Hematopoiesis Tutorial saved its project to `cache_dir`.
The export is written next to it, in `export_dir`.

```{r}
Expand Down Expand Up @@ -158,7 +160,7 @@ proj <- add_reproducible_peak_set(

## Grouping Fragments by Cluster

Each of the `atac_clusters` from the Hematopoiesis tutorial becomes one pseudobulk, one fragment
Each of the `atac_clusters` from the Hematopoiesis Tutorial becomes one pseudobulk, one fragment
file, and one ChromBPNet model.

```{r fig.width=7, fig.height=6}
Expand Down
1,986 changes: 0 additions & 1,986 deletions vignettes/marchr_chrombpnet.html

This file was deleted.

8 changes: 4 additions & 4 deletions vignettes/marchr_hematopoiesis.Rmd
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: "MarchR Hematopoiesis tutorial"
title: "MarchR Hematopoiesis Tutorial"
author: "Eric Liu"
output:
html_document:
toc: true
toc_float: true
toc_depth: 2
vignette: >
%\VignetteIndexEntry{MarchR Hematopoiesis tutorial}
%\VignetteIndexEntry{MarchR Hematopoiesis Tutorial}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
Expand All @@ -22,7 +22,7 @@ local({
buf <- new.env(parent = emptyenv())
buf$txt <- character(0)
collect <- function(x, options) {
buf$txt <- c(buf$txt, x)
buf$txt <- c(buf$txt, gsub(path.expand("~"), "~", x, fixed = TRUE))
""
}
esc <- function(x) {
Expand Down Expand Up @@ -84,7 +84,7 @@ details.marchr-log .marchr-log-body {

## Introduction

This is a brief MarchR tutorial, based upon the [ArchR "Hematopoiesis" Tutorial](https://www.archrproject.com/articles/Articles/tutorial.html).
This is a brief MarchR tutorial, based upon the [ArchR Tutorial](https://www.archrproject.com/articles/Articles/tutorial.html).
It does not showcase all of MarchR's functionality or each step in detail.
**Importantly, this tutorial assumes that your are running MarchR locally.**

Expand Down
Loading
Loading