Skip to content

About

An interactive R shiny application for exploring scRNAseq data processed in Seurat

Resources

Stars

11 stars

Watchers

1 watching

Forks

Repository files navigation

SeuratExplorer

SeuratExplorer logo

Badge Ask DeepWiki AskZreadAI

A Shiny App for Exploring scRNA-seq Data Processed in Seurat

A simple, one-command package which runs an interactive dashboard capable of common visualizations for single cell RNA-seq. SeuratExplorer requires a processed Seurat object, which is saved as rds or qs2 file.

Essentially, SeuratExplorer provides graphical interfaces for command-line tools from Seurat and other related packages, making complex analyses accessible without programming.

Why build this R package

Currently, there are no comprehensive tools for visualizing Seurat analysis results that are accessible to users without programming expertise. When bioinformatics analysts hand over results to end users, those without R programming knowledge often struggle to retrieve and re-analyze the data independently. SeuratExplorer is designed to bridge this gap by enabling such users to visualize and explore analysis results through an intuitive graphical interface. The only requirement for users is to configure R and RStudio on their computers and install SeuratExplorer. Alternatively, users can upload their Seurat object files to a server deployed with Shiny Server and SeuratExplorer for browser-based access.

Available on ShinyApps Store

This app is now available on ShinyApps Store, a desktop app store for users to install, run, update, and uninstall shiny apps.

Run app on a demo Shiny server

You can deploy this app on a Shiny Server, which allows users to visualize their data through a web interface by uploading the data to the server.

Live Demo: Upload an .rds or .qs2 file (up to 20GB) to the Demo Site.

Key Features

  • No Coding Required: Interactive point-and-click interface for all analyses
  • Comprehensive Visualizations: 8 plot types for exploring single-cell data
  • Multi-Assay Support: Works with scRNA-seq, scATAC-seq, spatial, and multi-omics data
  • Flexible Analysis: Find markers, explore correlations, and summarize features interactively
  • Interactive Annotation: Rename clusters, define gene-expression-based clusters, combine cluster annotations, and compute module scores (AddModuleScore or AUCell) — all from the browser
  • Dataset Status in the Header: Project name, cell and feature counts, default assay, and how many times the object has been modified in the current session
  • Publication-Ready Plots: Download vector PDF figures sized to match the plot on screen
  • Progress and Cancel: Long-running analyses such as cluster markers, top genes and top correlations show a progress bar and can be cancelled at a safe point
  • Batch Processing: Analyze multiple genes/clusters simultaneously
  • Real-time Results: See changes immediately as you adjust parameters
  • Data Export: Download analysis results in CSV/Excel format, with a one-line provenance record (analysis, main parameters, timestamp) above each result table

Installation

Install the latest version from github - Recommended:

if(!require(devtools)){install.packages("devtools")}
devtools::install_github("fentouxungui/SeuratExplorer", dependencies = TRUE)

Or install from CRAN:

# Install Bioconductor dependencies first
if (!require("BiocManager", quietly = TRUE)){
  install.packages("BiocManager")
}
BiocManager::install(c("ComplexHeatmap", "MAST", "limma", "DESeq2", "AUCell"))

# Install SeuratExplorer and presto from CRAN
install.packages(c("SeuratExplorer", "presto"))

System Requirements:

  • R (>= 4.1.0)
  • Seurat (>= 5.4.0)
  • SeuratObject (>= 5.3.0)
  • ggplot2 (>= 4.0.1)

Run app on local

library(SeuratExplorer)
launchSeuratExplorer()

You can customize the launch behavior with additional parameters:

  • verbose: Set to TRUE for debug messages (default: FALSE)
  • ReductionKeyWords: Keywords for dimension reduction options (default: c("umap","tsne","pca"))
  • SplitOptionMaxLevel: Maximum levels for split options (default: 12)
  • MaxInputFileSize: Maximum upload file size in bytes (default: 20*1024^3, i.e., 20GB)
  • EnableObjectExport: Whether to show the Export Data page (default: TRUE); set to FALSE to hide it, e.g. on a shared machine
  • DemoDataURL: One or more URLs of the demo dataset used by the Download and Run a demo data button; they are tried in order until one succeeds
  • DemoDataCacheDir: Directory used to cache the downloaded demo data (default: a per-user cache directory)
  • DemoDataMD5: Expected MD5 checksum of the demo data; set to NULL to skip the integrity check
# Example with custom parameters
launchSeuratExplorer(
  verbose = TRUE,
  ReductionKeyWords = c("umap", "tsne", "pca"),
  MaxInputFileSize = 10*1024^3  # 10GB
)

Plot export size

Downloaded figures are vector PDFs, so they stay sharp at any zoom. The app renders plots for a 72 dpi device while screens display at 96 dpi, so a single value cannot match both the page size and the size of the text/points inside the figure. The trade-off is controlled by the SeuratExplorerPdfDpi option, set before launching:

  • options(SeuratExplorerPdfDpi = 72) (default): text and points keep the proportions seen in the browser; the PDF page is about 1.33× the on-screen size.
  • options(SeuratExplorerPdfDpi = 96): the PDF page matches the on-screen size; text and points appear about 1.33× larger relative to the figure.
options(SeuratExplorerPdfDpi = 96)
launchSeuratExplorer()

Assay option

Seurat Assay

The Assay class stores single cell data. For typical scRNA-seq experiments, a Seurat object will have a single Assay (“RNA”). This assay will also store multiple ‘transformations’ of the data, including raw counts (@counts slot), normalized data (@data slot), and scaled data for dimensional reduction (@scale.data slot).

SeuratExplorer supports assay switching, enabling compatibility with multiple data types, including:

Single-cell Modalities:

  • scRNA-seq: Usually the default ‘RNA’ assay containing gene expression data
  • scATAC-seq: Usually named with “ATAC” (chromatin accessibility) and “ACTIVITY” (derived gene activity scores)
  • Spatial Transcriptomics:
    • Xenium data, usually named with ‘Xenium’
    • Visium HD data, usually named with ‘Visium’
    • Other spatial platforms (MERFISH, seqFISH, etc.)
  • CITE-seq: For antibody-derived tags (ADT) data, usually named with ‘ADT’ or ‘HTO’
  • Multi-omics: Any custom assay types following Seurat’s assay structure

Normalization Methods:

  • SCT assay: Using SCTransform normalization method
  • cellbender assay: Using cellbender background correction output
  • lsi assay: From Latent Semantic Indexing dimensionality reduction
  • Other custom normalization approaches

Assay Slots:

  • counts: Stores unnormalized data such as raw counts or TPMs
  • data: Normalized data matrix (log-normalized or other transformations)
  • scale.data: Scaled data matrix (used for dimensional reduction and visualization)

Assay Slot Support by Feature

Different visualization features support different assay slots:

  • Feature Plot: Supports counts, data, scale.data
  • Violin Plot: Supports counts, data, scale.data
  • Dot Plot: Supports data slot
  • Heatmap (Cell Level): Supports data, scale.data
  • Heatmap (Group Level): Supports data
  • Ridge Plot: Supports counts, data, scale.data
  • DEGs Analysis: Supports counts, data
  • Top Expressed Features: Supports counts
  • Feature Summary: Supports data
  • Feature Correlation: Supports data
  • Gene Based Cluster: Supports counts, data
  • Module Score: Supports counts, data

Introduction

Load data

  • Supports Seurat objects saved as .rds or .qs2 files

  • Supports data processed by Seurat V5 and older versions. Note: It may take some time to update older Seurat objects when loading data

  • Includes a Download and Run a demo data button: the demo dataset (~74 MB) is downloaded once, cached locally, and then loaded automatically on later runs

  • Once a dataset is loaded, the dashboard header shows its project name, cell and feature counts, default assay, and how many times the object has been modified in the current session

Dimensional Reduction Plot

  • Supports selection of dimensionality reduction methods (UMAP, t-SNE, PCA, etc.)

  • Supports selection of cluster resolutions

  • Supports split plots

  • Supports highlighting selected clusters

  • Supports adjusting the height/width ratio of the plot

  • Supports displaying cluster labels

  • Supports adjusting label size

  • Supports adjusting point size

  • Supports downloading plots in PDF format (WYSIWYG)

Example plots:

Feature Plot

  • Supports simultaneous display of multiple genes (gene names are case-insensitive). Tip: Paste multiple gene names directly from Excel

  • Supports selection of dimensionality reduction methods

  • Supports split plots

  • Supports customizing colors for lowest and highest expression levels

  • Supports setting minimum/maximum expression cutoff (percentile) to trim outliers

  • Supports showing cluster labels and adjusting label size

  • Supports adjusting point transparency (alpha)

  • Supports adjusting the height/width ratio of the plot

  • Supports adjusting point size

  • Supports downloading plots in PDF format (WYSIWYG)

  • Supports switching between assays containing any of the following slots: counts, data, scale.data

Example plots:

Violin Plot

  • Supports simultaneous display of multiple genes (gene names are case-insensitive). Tip: Paste multiple gene names directly from Excel

  • Supports selection of cluster resolutions

  • Supports split plots

  • Supports stacking and flipping plots, with color mapping selection

  • Supports adjusting point size and transparency

  • Supports adjusting font sizes on x and y axes

  • Supports adjusting the height/width ratio of the plot

  • Supports downloading plots in PDF format (WYSIWYG)

  • Supports switching between assays containing any of the following slots: counts, data, scale.data

Example plots:

Dot Plot

  • Supports simultaneous display of multiple genes (gene names are case-insensitive). Tip: Paste multiple gene names directly from Excel

  • Supports selection of cluster resolutions and subsetting clusters

  • Supports split plots

  • Supports clustering clusters

  • Supports rotating axes and flipping coordinates

  • Supports adjusting point size and transparency

  • Supports adjusting font sizes on x and y axes

  • Supports adjusting the height/width ratio of the plot

  • Supports downloading plots in PDF format (WYSIWYG)

  • Supports switching between assays containing the data slot

Example plots:

Heatmap for cell level expression

  • Supports simultaneous display of multiple genes (gene names are case-insensitive). Tip: Paste multiple gene names directly from Excel

  • Supports selection of cluster resolutions and reordering clusters

  • Supports adjusting font size, horizontal/vertical justification and rotation angle of cluster labels

  • Supports adjusting the height of group bars

  • Supports adjusting the line width of group bars

  • Supports adjusting the font size of gene names

  • Group bar colours follow the palette defined in Cluster Colors (the expression gradient is unchanged)

  • Supports adjusting the height/width ratio of the plot

  • Supports downloading plots in PDF format (WYSIWYG)

  • Supports switching between assays containing the data or scale.data slots

Example plots:

Heatmap for group averaged expression

  • Supports simultaneous display of multiple genes (gene names are case-insensitive). Tip: Paste multiple gene names directly from Excel

  • Supports selection of cluster resolutions and reordering clusters

  • Supports adjusting font size and rotation angle of cluster labels

  • Supports clustering clusters (columns) and clustering features (rows)

  • Supports adjusting the font size of gene names

  • Supports adjusting the height/width ratio of the plot

  • Supports downloading plots in PDF format (WYSIWYG)

  • Supports switching between assays containing the data slot

Example plots:

Ridge Plot

  • Supports simultaneous display of multiple genes (gene names are case-insensitive). Tip: Paste multiple gene names directly from Excel

  • Supports selection of cluster resolutions and reordering clusters

  • Supports adjusting the number of columns

  • Supports stacking plots and color mapping

  • Supports adjusting font sizes on x and y axes

  • Supports adjusting the height/width ratio of the plot

  • Supports downloading plots in PDF format (WYSIWYG)

  • Supports switching between assays containing any of the following slots: counts, data, scale.data

Example plots:

Plot Cell Percentage

  • Supports faceting

  • Optionally shows the percentage of each segment inside the bars (Show percentages), with:

    • a cutoff to hide labels for very small segments (Hide labels below (%))
    • adjustable label size and decimal places (0/1/2)
    • label color: Automatic (black or white chosen from the segment fill color, so custom cluster colors keep the labels readable), or forced black/white
    • an option to list the hidden small segments in the plot caption (List small segments below plot)
  • Optionally appends the number of cells to the x-axis labels, e.g. WT (n = 1,234) (Show sample sizes on x-axis); this option is hidden when faceting, because the x-axis labels are shared by panels with different cell counts

  • Cells can be filtered before the percentages are calculated (Subset Cells): each condition picks a cluster/metadata column (e.g. Celltype) and one or more levels to keep, and further conditions can be added with Add filter condition (removed with the red minus button). Conditions are combined as an intersection (a cell must pass all of them) while the levels inside one condition are combined with %in%. Every level is kept by default, so the plot and the table are unchanged until a subset is applied, and the table below the plot always follows the same subset

  • The table below the plot reports cell counts together with the percentage of each segment, calculated within the same groups as the plot (per sample, or per sample × facet) and with the same number of decimals, so it always matches the labels drawn in the bars

  • Segment colors follow the palette selected here, or the custom cluster colors when a palette has been set in Cluster Colors

  • Supports adjusting the height/width ratio of the plot

  • Supports downloading plots in PDF format (WYSIWYG)

Example plots:

Find Cluster Markers and DEGs Analysis

This analysis typically requires more computation time. Please wait patiently for results to complete. Important: Save your results before starting a new analysis, as previous results will be overwritten. Results can be downloaded in csv or xlsx format.

Two analysis modes supported

  • Find markers for all clusters: Identifies marker genes for each cluster

  • Calculate DEGs for custom groups: Compare differential expression between two user-defined groups. You can subset cells (with one or more filter conditions, combined as an intersection) before calculating DEGs between groups, then choose the group column and the case/control levels. By default, all cells from both groups are used

Cluster-marker analysis processes one cluster at a time, shows a progress bar and can be cancelled between clusters. The two-group comparison runs as a single blocking step and cannot be interrupted once started.

Custom parameters

Before running the analysis you can adjust the following parameters (in the Custom Parameters tab):

  • logFC threshold: minimum log fold-change (default 0.1)
  • Test Use: wilcox, wilcox_limma, t, negbinom, poisson, LR, MAST (requires MAST), or DESeq2 (requires DESeq2)
  • Min Pct: minimum expression percentage for a gene to be tested (default 0.01)
  • Min Diff Pct: minimum expression-percentage difference between groups (default 0)

Above the result table, a one-line provenance record (timestamp, analysis name and the main parameters) shows which settings produced the table currently on screen.

External gene annotation links (Only available for github version)

After results are shown, selecting a row in the results table reveals links to external gene databases. For Human, Mouse and Fly, links to GeneCards, Ensembl, HGNC, MGI, FlyBase, NCBI and UniProt are provided based on the selected feature type (Symbol, Ensembl ID, or Entrez ID).

  • Supports switching between assays containing any of the following slots: counts, data

Screen shots:

Output description

FindMarkers(object, …)

A data.frame with a ranked list of putative markers as rows, and associated statistics as columns (p-values, ROC score, etc., depending on the test used (test.use)). The following columns are always present:

avg_logFC: log fold-change of the average expression between the two groups. Positive values indicate that the gene is more highly expressed in the first group

pct.1: The percentage of cells where the gene is detected in the first group

pct.2: The percentage of cells where the gene is detected in the second group

p_val_adj: Adjusted p-value, based on bonferroni correction using all genes in the dataset

Top Expressed Features

Highly expressed genes can reflect the main functions of cells. There are two approaches to identifying these genes: Find Top Genes by Cell identifies genes that are highly expressed in individual cells (even if only in a few cells), while Find Top Genes by Accumulated UMI counts tends to find genes with high accumulated expression across most cells in a cluster.

  • Supports assay switching

1. Find Top Genes by Cell

How it works

Step 1: For each cell, identify genes with high UMI percentage. For example, if a cell has 10,000 UMIs and the UMI percentage cutoff is set to 0.01, all genes with more than 10,000 × 0.01 = 100 UMIs are considered highly expressed in that cell.

Step 2: Summarize these genes for each cluster. First, collect all highly expressed genes in a cluster. For each gene, count the number of cells where it is highly expressed, and calculate the mean and median UMI percentage in those highly expressed cells.

Output description

  • celltype: The cluster name as defined by Choose A Cluster Resolution

  • total.cells: Total number of cells in this cluster

  • Gene: Gene that is highly expressed in at least 1 cell in this cluster

  • total.pos.cells: Number of cells that express this gene

  • total.UMI.pct: (All UMIs of this gene) / (Total UMIs of this cluster)

  • cut.Cells: Number of cells that highly express this gene

  • cut.pct.mean: Mean expression percentage in highly expressed cells

  • cut.pct.median: Median expression percentage in highly expressed cells

2. Find Top Genes by Accumulated UMI Counts

For each cluster, calculate the top n highly expressed genes by accumulated UMI counts. Clusters with fewer than 3 cells will be skipped.

  • Supports switching between assays containing the counts slot

Output description

  • celltype: The cluster name as defined by Choose A Cluster Resolution

  • total.cells: Total number of cells in this cluster

  • Gene: The top n highly expressed genes

  • total.pos.cells: Number of cells that express this gene

  • MeanUMICounts: (Total accumulated UMI counts) / (Total cells of this cluster)

  • PCT: (Total accumulated UMI counts of the gene) / (Total UMIs of cluster cells)

Feature Summary

Summarize features of interest by cluster, including positive cell percentage and mean/median expression levels.

  • Supports switching between assays containing the data slot

Output description

  • CellType: The cluster name as defined by Choose A Cluster Resolution

  • TotalCells: Total number of cells in this cluster

  • Gene: The input genes

  • PCT: The percentage of cells expressing this gene in this cluster

  • Expr.mean: The mean normalized expression in this cluster

  • Expr.median: The median normalized expression in this cluster

Feature Correlation Analysis

Calculates correlation values for gene pairs within cells from a cluster. Supports both Pearson and Spearman correlation methods.

  • Supports switching between assays containing the data slot

Three analysis modes

  • Top correlated pairs: Identifies the top N correlated gene pairs; set N in Step 2 (default 1000, range 10–100000). The search is computed in blocks of genes and can be cancelled between blocks

  • Correlated with one gene: Finds the most correlated genes for a user-specified gene

  • All pairs in a gene list: Calculates correlation values for all pairs in a user-provided gene list

Output description

  • GeneA: The first gene in a gene pair

  • GeneB: The second gene in a gene pair

  • correlation: The correlation value

Note: If no results are returned, this is typically because the input genes have very low expression levels. Very lowly expressed genes are removed before analysis.

Module Score (BETA)

Score each cell with a gene set, using either Seurat’s AddModuleScore or AUCell (AUCell must be installed).

  1. Paste gene symbols and click Check Genes to validate them (matched genes are kept, missing genes are reported).
  2. Choose the scoring method. For AUCell, set the share of top-ranked genes used to compute the AUC (default 5%); the rankings are cached and reused for later gene sets on the same assay.
  3. Enter a score name (letters, numbers and underscore only) and click Compute Module Score.
  4. The resulting numeric score is added to the cell metadata and can be explored in Feature Plot, Violin Plot, or Ridge Plot by entering the score name as a feature.
  • Supports switching between assays containing the counts or data slots

Rename cluster names

You can rename cluster names, and changes will take effect immediately. However, the original Seurat object file is never modified. Once you close the session, the new annotations will be lost. You can download a mapping file of old names to new names and send it to a bioinformatician to request permanent changes to the Seurat object.

To rename clusters: select a cluster resolution, edit the New_Name column in the table, then click Check to preview the re-colored dimension-reduction plot, and finally Update to add the new annotation. You can download the old-to-new name mapping.

Cluster Colors

Assign custom colors to the groups of one cluster resolution and use the same palette across plots.

  1. Choose a cluster resolution.
  2. Edit colors group by group, or apply one of the built-in palettes first and adjust a few. Each picker accepts any color: type a hex value (e.g. #E41A1C) or choose from the full color square. Groups you leave untouched keep their default colors.
  3. Click Submit to save the palette for the session and store it in obj@misc$SeuratExplorer$cluster_colors, so an object exported from the app keeps its colors.

The preview shows a DimPlot drawn with the draft colors; cluster labels can be switched off. Duplicate colors are allowed but flagged with a warning. Export colors (CSV) writes two columns (cluster, color); Import colors (CSV) reads the same format, ignores groups that do not exist in the current resolution and reports them. Remove saved colors for this resolution clears the palette for the selected resolution.

Colors are applied to:

  • Dim Reduction Plot (including split panels)
  • Violin Plot (unsplit, and side-by-side split violins; split violins keep the split colors)
  • Cell Percentage Plot
  • Ridge Plot when ridges are colored by cluster
  • Heatmap (cell level) group bar (the expression gradient is unchanged)
  • Average Heatmap column annotation bar

Dot Plot and Feature Plot use continuous expression colors, so they are not affected.

Example plots:

Gene Based Cluster (BETA)

Group cells into new clusters based on a single gene’s expression level, or on a numeric metadata column such as a module score, using user-defined cutoffs.

  1. Enter a gene symbol (or a numeric metadata column), select the assay/slot, and click Generate Histogram to plot the value distribution.
  2. Enter comma-separated cutoff values and click Apply Cutoffs to define expression intervals.
  3. Edit the group names in the classification table, then click Check to validate names.
  4. Click Submit to add a new factor column (named <gene>_cluster) to the cell metadata.
  • Supports switching between assays containing the counts or data slots

Combination Based Cluster (BETA)

Combine two existing cluster annotations into a single new grouping.

  1. Select a first and second cluster resolution and a connector (-, +, or _), then click Generate.
  2. Review the combination table (with cell counts), optionally edit the NewName column.
  3. Click Submit to add the combined annotation as a new factor column in the cell metadata.

A mapping file can be downloaded for permanent changes to the Seurat object.

Search Features

All features (genes) extracted from the row names of the assay can be searched.

  • Supports switching between assays containing any of the following slots: counts, data, scale.data
  • Case-insensitive search for gene/feature names
  • View feature annotations for ATAC assays (requires Signac package)
  • Copy multiple feature names for use in other analysis modules

Cell Metadata

The metadata of all cells extracted from the meta.data slot of the Seurat object contains descriptive information for each cell, such as quality control metrics, cell type classifications, batch information, and experimental conditions. This metadata is crucial for organizing, filtering, integrating, and visualizing single-cell RNA-seq data.

  • Supports downloading cell metadata in csv format for further analysis

Structure of Seurat Object

The Seurat object is an S4 class in R designed to store and manage single-cell expression data and associated analyses. It is a highly structured and self-contained object, allowing for the integration of various data modalities and analytical results.

Key Slots and their Contents:

assays: This is a list containing one or more Assay objects. Each Assay object represents a specific type of expression data. Each Assay object itself contains slots like counts (raw data), data (normalized data), scale.data (scaled data), and meta.features (feature-level metadata).

meta.data: A data frame storing cell-level metadata. This includes information such as the number of features detected per cell (nFeature_RNA), original identity classes (orig.ident), and can be extended with additional information (e.g., cell type annotations, sample information).

active.assay: A character string indicating the name of the currently active or default assay for analysis.

active.ident: Stores the active cluster identity for each cell, typically resulting from clustering analyses.

reductions: A list of DimReduc objects, each representing a dimensionality reduction technique applied to the data (e.g., PCA, UMAP, tSNE). These objects store the lower-dimensional embeddings of the cells.

graphs: A list of Graph objects, typically storing nearest-neighbor graphs used in clustering and other analyses. images: For spatial transcriptomics data, this slot stores Image objects containing spatial image data and information linking spots to their physical locations.

project.name: A character string holding the name of the project.

misc: A list for storing miscellaneous information not fitting into other specific slots.

Export Data

Download the Seurat object exactly as it exists in the current session, including metadata columns added here (Rename Clusters, Gene Based Cluster, Combination Based Cluster, Module Score). The original file on disk is never modified.

  1. Step 1 (optional) – Filter Cells: add one or more conditions with the + button; each condition keeps the selected levels of a cluster/metadata column. Conditions are combined as an intersection, and two rows on the same column are intersected as well.
  2. Step 2 – Output format: .qs2 (compression level 0–3) or .rds (gzip / xz / none).
  3. Step 3 – Options: drop scale.data to shrink the file, drop empty factor levels, and record the export parameters in obj@misc$SeuratExplorer$export.

The preview shows how many cells will be exported, how many were excluded because a filter column is NA, the estimated object size, and a per-level breakdown. Leaving the filters untouched exports the whole object.

Exporting copies and serializes the object, so a large object takes a while and the page stays unresponsive until the browser starts downloading.

For shared or multi-user deployments this page can be hidden with launchSeuratExplorer(EnableObjectExport = FALSE) (or options(SeuratExplorerEnableObjectExport = FALSE) before launching).

About

You’re reading the tutorial right now!

Data Preparation Tips

Preparing Your Seurat Object

For the best experience with SeuratExplorer, ensure your Seurat object contains:

  1. Required Elements:
    • At least one assay with data (RNA, ATAC, etc.)
    • Dimensional reductions (umap, tsne, or pca)
    • Cell metadata (meta.data slot) with cluster information
  2. Recommended Elements:
    • Multiple cluster resolutions (e.g., seurat_clusters at different resolutions)
    • Sample or batch information in metadata
    • Cell type annotations (can be added interactively in the app)
    • Quality control metrics (nCount_RNA, nFeature_RNA, percent.mt, etc.)
  3. File Formats:
    • .rds: Standard R data format (smaller files, faster I/O)
    • .qs2: QSZ compression format (better compression for large objects)
  4. File Size Considerations:
    • Maximum upload size: 20GB (configurable via MaxInputFileSize parameter)
    • For large datasets, consider subsetting or using data with fewer cells
    • Use .qs2 format for better compression of large objects

Example Preprocessing Code

# Basic Seurat preprocessing
library(Seurat)

# Load your data
seurat_obj <- Read10X(data.dir = "path/to/data")
seurat_obj <- CreateSeuratObject(counts = seurat_obj)

# Standard processing
seurat_obj <- NormalizeData(seurat_obj)
seurat_obj <- FindVariableFeatures(seurat_obj)
seurat_obj <- ScaleData(seurat_obj)
seurat_obj <- RunPCA(seurat_obj)
seurat_obj <- RunUMAP(seurat_obj, dims = 1:30)

# Clustering at multiple resolutions
seurat_obj <- FindNeighbors(seurat_obj, dims = 1:30)
seurat_obj <- FindClusters(seurat_obj, resolution = 0.4)
seurat_obj <- FindClusters(seurat_obj, resolution = 0.8)

# Save for SeuratExplorer
saveRDS(seurat_obj, "my_seurat_object.rds")
# or
qs2::qs_save(seurat_obj, "my_seurat_object.qs2")

FAQ

Q: Can I use SeuratExplorer with Seurat v3 objects?

A: Yes! SeuratExplorer automatically updates old Seurat objects when loading. However, for very old versions (v2 or earlier), manual update using UpdateSeuratObject() may be required before use.

Q: Is my data uploaded to any server?

A: No. When running locally (launchSeuratExplorer()), all data stays on your computer. Only when deployed on a Shiny Server would data be uploaded to that server.

Q: Can I save my analysis results?

A: Yes! Every plot can be downloaded as a vector PDF sized to match what you see in the browser (see Plot export size). Analysis results (DEGs, top expressed features, feature summary, feature correlation) can be downloaded as CSV or Excel files, and each result table carries a one-line record of the analysis and parameters that produced it. Cluster name mappings can also be exported.

Q: What’s the difference between the two “Top Expressed Features” methods?

A: - Find Top Genes by Cell: Identifies genes that are highly expressed in individual cells, useful for finding cell-specific markers - Find Top Genes by Mean UMI: Finds genes with high average expression across all cells in a cluster, useful for identifying cluster characteristics

Q: How do I add custom color palettes?

A: While SeuratExplorer includes many predefined color palettes, you can use the getColors() function in your own R scripts to access these palettes for custom visualizations.

Key related packages

Core Dependencies

  • satijalab/seurat: Seurat is an R toolkit for single cell genomics, developed and maintained by the Satija Lab at NYGC. SeuratExplorer builds upon Seurat’s powerful analysis capabilities to provide interactive visualization.

  • rstudio/shiny: Shiny is an R package that makes it easy to build interactive web apps straight from R. SeuratExplorer uses Shiny to create its interactive dashboard.

Visualization Dependencies

  • ggplot2: A system for declaratively creating graphics, based on “The Grammar of Graphics”. SeuratExplorer uses ggplot2 for all its visualizations.

  • ComplexHeatmap: Bioconductor package for making complex heatmaps with annotations.

  • shinydashboard: Create dashboards with Shiny. SeuratExplorer uses this for its admin-style interface.

Related Projects

  • Hla-Lab/SeuratExplorer: An interactive R shiny application for exploring scRNAseq data processed in Seurat (another implementation with similar goals).

  • junjunlab/scRNAtoolVis: Some useful functions to make your scRNA-seq plots more beautiful. Some code from this package has been adapted in SeuratExplorer.

  • rstudio/shiny-server: Shiny Server is a server program that makes Shiny applications available over the web. Use this to deploy SeuratExplorer on a server for multi-user access.

Contributing and Support

Getting Help

Citation

If you use SeuratExplorer in your research, please cite:

@software{seuratexplorer2025,
  title = {SeuratExplorer: An Shiny App for Exploring scRNA-seq Data Processed in Seurat},
  author = {Zhang, Yongchao},
  year = {2025},
  url = {https://github.com/fentouxungui/SeuratExplorer},
  note = {R package version 0.1.9}
}

License

This package is licensed under GPL (>= 3). See LICENSE.md for details.

Acknowledgments

SeuratExplorer is built upon excellent work by:

  • The Seurat development team (Satija Lab)
  • The RStudio/Shiny team
  • The Bioconductor community
  • All contributors and users who provide feedback and suggestions

中文介绍

微信公众号: 分析力工厂

Session Info

#> R version 4.6.1 (2026-06-24 ucrt)
#> Platform: x86_64-w64-mingw32/x64
#> Running under: Windows 11 x64 (build 26200)
#> 
#> Matrix products: default
#>   LAPACK version 3.12.1
#> 
#> locale:
#> [1] LC_COLLATE=Chinese (Simplified)_China.utf8 
#> [2] LC_CTYPE=Chinese (Simplified)_China.utf8   
#> [3] LC_MONETARY=Chinese (Simplified)_China.utf8
#> [4] LC_NUMERIC=C                               
#> [5] LC_TIME=Chinese (Simplified)_China.utf8    
#> 
#> time zone: Asia/Shanghai
#> tzcode source: internal
#> 
#> attached base packages:
#> [1] stats     graphics  grDevices utils     datasets  methods   base     
#> 
#> loaded via a namespace (and not attached):
#>  [1] compiler_4.6.1    fastmap_1.2.0     cli_3.6.6         tools_4.6.1      
#>  [5] htmltools_0.5.9   otel_0.2.0        rstudioapi_0.19.0 yaml_2.3.12      
#>  [9] rmarkdown_2.32    knitr_1.52        xfun_0.60         digest_0.6.39    
#> [13] rlang_1.3.0       evaluate_1.0.5

About

An interactive R shiny application for exploring scRNAseq data processed in Seurat

Resources

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages