R Package Guide#

This guide documents the cellucid R package (repo: cellucid-r): how to export single-cell data from R into the Cellucid viewer export format so you can explore it in the Cellucid web app.

Note

cellucid-r is an export-focused package. It does not embed the viewer in R yet (no RStudio widget / Shiny integration yet).

If you want notebook embedding, servers, and programmatic control, see the Python Package Guide docs instead.

For the web UI experience after export (loading, filtering, analysis, sessions, community annotation), see Web App Guide.

Where to start (pick one)#

Chapters (what each folder contains)#

Landing Pages

Quick starts and “what is this?” explanations for mixed audiences.

Landing Pages
Concepts & Mental Models

How R exports map to the browser viewer, plus dataset identity and reproducibility.

Concepts & Mental Models
Data Preparation API

Deep documentation of cellucid_prepare() / prepare() including shapes, dtypes, edge cases, and file outputs.

Data Preparation API
Viewing & Loading

How to open exported folders in the Cellucid web app, and how to host them for sharing.

Viewing and Loading Exports
Integrations & Recipes

Practical recipes for Seurat and SingleCellExperiment (and “raw matrix” workflows).

Integrations & Recipes
Notebook Tutorials

Very detailed, notebook-style walkthroughs with lots of “why”, edge cases, and troubleshooting.

Notebook Tutorials
API Reference Coverage

A map of what parts of the R API are documented where (useful for maintainers and contributors).

API Reference Coverage
Developer Docs

Implementation notes, testing/release guidance, and codebase architecture for cellucid-r contributors.

Developer Docs
Troubleshooting Index

Symptom → diagnosis → fix across installation, exports, and web app loading.

Troubleshooting Index