seuratexplorer
An interactive R shiny application for exploring scRNAseq data processed in Seurat
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.5%) to scientific vocabulary
Repository
An interactive R shiny application for exploring scRNAseq data processed in Seurat
Basic Info
- Host: GitHub
- Owner: fentouxungui
- License: gpl-3.0
- Language: R
- Default Branch: main
- Size: 14.1 MB
Statistics
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 7
Metadata Files
README.md
SeuratExplorer
An
ShinyApp for Exploring scRNA-seq Data Processed inSeurat
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.
Why build this R package
Currently, there is still no good tools for visualising the analysis results from
Seurat, when the bioinformatics analyst hands over the results to the user, if the user does not have any R language foundation, it is still difficult to retrieve the results and re-analysis on their own, and this R package is designed to help such users to visualize and explore the anaysis results. The only thing to do for such users is to configure R and Rstudio on their own computers, and then installSeuratExplorer, without any other operations, an optional way is to upload theSeurat objectfile to a server which has been deployed withshinyserverandSeuratExplorer.Essentially, what
SeuratExplorerdone is just to perform visual operations for command line tools fromSeurator other packages.
Installation
Install the latest version from github - Recommended:
r
if(!require(devtools)){install.packages("devtools")}
install_github("fentouxungui/SeuratExplorer", dependencies = TRUE)
Or install from CRAN:
``` r
install none-CRAN dependency
if (!require("BiocManager", quietly = TRUE)){install.packages("BiocManager")} BiocManager::install(c("ComplexHeatmap", "MAST", "limma", "DESeq2")) if(!require(devtools)){install.packages("devtools")} devtools::install_github("immunogenomics/presto")
install.packages("SeuratExplorer") ```
Run app on local
r
library(SeuratExplorer)
launchSeuratExplorer()
Deploy on server
You can deploy this app on a shiny server, which allows people to view their data on a webpage by uploading the data to server.
A live demo: Upload an Rds or qs2 file, with file size no more than 20GB, to Demo Site. You can download a mini demo data from github.
``` r
app.R
library(SeuratExplorer) launchSeuratExplorer() ```
Introduction
Load data
support
Seuratobject saved as.rdsor.qs2file.support data processed by
SeuratV5 and older versions. it may takes a while to updateSeuratobject when loading data.

Cell Metadata
- support download cell metadata in
csvformat, which can be used for further analysis.

Dimensional Reduction Plot
support options for Dimension Reductions
support options for Cluster Resolution
support split plots
support highlight selected clusters
support adjust the height/width ratio of the plot
support options for showing cluster label
support adjust label size
support adjust point size
support download plot in pdf format, what you see is what you get
Example plots:

Feature Plot
support display multiple genes simultaneous, genes names are case-insensitive. Tips: paste multiple genes from excel
support options for Dimension Reductions
support split plots
support change colors for the lowest expression and highest expression
support adjust the height/width ratio of the plot
support adjust point size
support download plot in pdf format, what you see is what you get
Example plots:

Violin Plot
support display multiple genes simultaneous, genes names are case-insensitive. Tips: paste multiple genes from excel
support options for Cluster Resolution
support split plots
support stack and flip plot, and color mapping selection.
support adjust point size and transparency
support adjust font size on x and y axis
support adjust the height/width ratio of the plot
support download plot in pdf format, what you see is what you get
Example plots:

Dot Plot
support display multiple genes simultaneous, genes names are case-insensitive. Tips: paste multiple genes from excel
support options for Cluster Resolution and subset clusters
support split plots
support cluster clusters
support rotate axis and flip coordinate
support adjust point size and transparency
support adjust font size on x and y axis
support adjust the height/width ratio of the plot
support download plot in pdf format, what you see is what you get
Example plots:

Heatmap for cell level expression
support display multiple genes simultaneous, genes names are case-insensitive. Tips: paste multiple genes from excel
support options for Cluster Resolution and reorder clusters
support adjust font size and rotation angle of cluster label, and flip coordinate
support adjust the height of group bar
support adjust the gap size between groups
support adjust the font size of gene names
support adjust the height/width ratio of the plot
support download plot in pdf format, what you see is what you get
Example plots:

Heatmap for group averaged expression
support display multiple genes simultaneous, genes names are case-insensitive. Tips: paste multiple genes from excel
support options for Cluster Resolution and reorder clusters
support adjust font size and rotation angle of cluster label
support adjust the font size of gene names
support adjust the height/width ratio of the plot
support download plot in pdf format, what you see is what you get
Example plots:

Ridge Plot
support display multiple genes simultaneous, genes names are case-insensitive. Tips: paste multiple genes from excel
support options for Cluster Resolution and reorder clusters
support adjust column numbers
support stack plot and color mapping
support adjust font size on x and y axis
support adjust the height/width ratio of the plot
support download plot in pdf format, what you see is what you get
Example plots:

Plot Cell Percentage
support facet
support adjust the height/width ratio of the plot
support download plot in pdf format, what you see is what you get
Example plots:

Find Cluster Markers and DEGs Analysis
This usually takes longer, please wait patiently.Please save the results
before start a new analysis, the old results will be overwritten by the
new results, the results can be downloaded as csv format.
Support two ways
support find markers for all clusters
support calculate DEGs for self-defined two groups, you can subset cells before calculate DEGs between two groups, default use all cells of two groups.
You can modify part calculation parameters before a analysis.
Screen shots:

Output description

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-chage 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
pvaladj: 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
two ways to do this. the first - Find Top Genes by Cell could find
gene only high express in a few cells, while the second -
Find Top Genes by Accumulated UMI counts is biased to find the highly
expressed genes in most cells by accumulated UMI counts.
1. Find Top Genes by Cell
How?
Step1: for each cell, find genes that has high UMI percentage, for
example, if a cell has 10000 UMIs, and the UMI percentage cutoff is
set to 0.01, then all genes that has more than 10000 * 0.01 = 100 UMIs
is thought to be the highly expressed genes for this cell.
Step2: summary those genes for each cluster, firstly get all highly expressed genes in a cluster, some genes may has less cells, then for each gene, count cells in which this genes is highly expressed, and also calculate the mean and median UMI percentage in those highly expressed cells.

Output description
celltype: the cluster name which is define byChoose A Cluster Resolutiontotal.cells: total cell in this clusterGene: this Gene is highly expressed in at least 1 cell in this clustertotal.pos.cells: how many cells express this genetotal.UMI.pct: (all UMIs of this gene)/(total UMIs of this cluster)cut.Cells: how many cells highly express this genecut.pct.mean: in those highly expressed cells, the mean expression percentagecut.pct.median: in those highly expressed cells, the median expression percentage
2. Find Top Genes by Mean UMI counts
for each cluster, calculate the top n highly expressed genes by Mean
UMI counts. if a cluster has less than 3 cells, this cluster will be
escaped.

Output description
CellType: the cluster name which is define byChoose A Cluster Resolutiontotal.cells: total cell in this clusterGene: thetop nhighly expressed genestotal.pos.cells: how many cells express this geneMeanUMICounts: (total accumulated UMI counts) / (total cells of this cluster)PCT: (total accumulated UMI counts of the gene) / (total UMIs of cluster cells)
Feature Summary
Summary interested features by cluster, such as the positive cell percentage and mean/median expression level.

Output description
celltype: the cluster name which is define byChoose A Cluster ResolutionTotalCells: total cell in this clusterGene: the input genesPCT: the percentage of how many cells express this gene in this clusterExpr.mean: the mean normalized expression in this clusterExpr.median: the median normalized expression in this cluster
Feature Correlation Analysis
Can calculate the correlation value of gene pairs within cells from a cluster, support pearson & spearman methods.
3 ways to do
Find Top Correlated Gene Pairs: to find top 1000 correlated gene pairsFind Correlated Genes for A Gene: to find the most correlated genes for input genesCalculate Correlation for A Gene List: to calculate the correlation value for each pair of the input genes

Output description

GeneA: the first gene in a Gene pairGeneB: the second gene in a Gene paircorrelation: the correlation value
if nothing return, this is because the input genes has very low expression level, very low expressed genes will be removed before analysis.
Key related packages
satijalab/seurat: Seurat is an R toolkit for single cell genomics, developed and maintained by the Satija Lab at NYGC.
Hla-Lab/SeuratExplorer: An interactive R shiny application for exploring scRNAseq data processed in Seurat.
junjunlab/scRNAtoolVis: Some useful function to make your scRNA-seq plot more beautiful.
rstudio/shiny-server: Shiny Server is a server program that makes Shiny applications available over the web.
Session Info
#> R version 4.4.3 (2025-02-28 ucrt)
#> Platform: x86_64-w64-mingw32/x64
#> Running under: Windows 11 x64 (build 26100)
#>
#> Matrix products: default
#>
#>
#> 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
#>
#> other attached packages:
#> [1] badger_0.2.4
#>
#> loaded via a namespace (and not attached):
#> [1] vctrs_0.6.5 cli_3.6.3 knitr_1.50
#> [4] rlang_1.1.4 xfun_0.52 generics_0.1.4
#> [7] jsonlite_1.8.8 glue_1.7.0 htmltools_0.5.8.1
#> [10] scales_1.4.0 rmarkdown_2.29 dlstats_0.1.7
#> [13] grid_4.4.3 evaluate_1.0.3 tibble_3.2.1
#> [16] fastmap_1.2.0 yaml_2.3.10 lifecycle_1.0.4
#> [19] BiocManager_1.30.25 rvcheck_0.2.1 compiler_4.4.3
#> [22] dplyr_1.1.4 fs_1.6.4 RColorBrewer_1.1-3
#> [25] pkgconfig_2.0.3 rstudioapi_0.17.1 farver_2.1.2
#> [28] digest_0.6.36 R6_2.6.1 tidyselect_1.2.1
#> [31] pillar_1.10.2 magrittr_2.0.3 tools_4.4.3
#> [34] gtable_0.3.6 yulab.utils_0.2.0 ggplot2_3.5.1
中文介绍
Owner
- Name: FenTouXunGui
- Login: fentouxungui
- Kind: user
- Location: Beijing
- Company: NIBS
- Website: www.fentouxungui.com
- Repositories: 2
- Profile: https://github.com/fentouxungui
still in infancy!
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: SeuratExplorer
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Yongchao
family-names: Zhang
email: zhangyongchao@nibs.ac.cn
repository-code: 'https://github.com/fentouxungui/SeuratExplorer'
abstract: >-
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.
GitHub Events
Total
- Issues event: 14
- Watch event: 5
- Delete event: 1
- Issue comment event: 2
- Push event: 83
Last Year
- Issues event: 14
- Watch event: 5
- Delete event: 1
- Issue comment event: 2
- Push event: 83
Dependencies
- R >= 4.1.0 depends
- DT * imports
- Seurat * imports
- dplyr * imports
- ggplot2 * imports
- patchwork * imports
- shiny * imports
- shinycssloaders * imports
- shinydashboard * imports
- tools * imports