Tnc: prenatal glioblast expression
Examine prenatal Tnc expression in glioblasts using an embryonic-stage heatmap.
Show this example
The Developing Mouse Visual Cortex Gene Expression Viewer is an interactive R Shiny application for exploring pseudobulk gene expression and the fraction of cells expressing each gene across developmental age, developmental stage, cell type, donor, library, and anatomical metadata. Users can identify candidate genes from a sortable statistics table, retrieve genes from public AWS storage, apply multiple simultaneous filters, create trajectory, heatmap, dot, violin or boxplot, and two-gene correlation views, and share configured analyses through bookmarked URLs.
The underlying resource is part of the Allen Brain Cell Atlas, an open-science platform for visualizing and analyzing multimodal single-cell data across the mammalian brain.
Launch the interactive viewer Go to GitHubExplore what the viewer can do through examples that revisit findings from Continuous cell-type diversification in mouse visual cortex development. Each linked example opens a gene with its filters and plot settings already configured.
Explore prenatal and developmental expression patterns across cell populations.
Examine prenatal Tnc expression in glioblasts using an embryonic-stage heatmap.
Show this exampleExplore prenatal Neurog1 expression in nonIT intermediate progenitor (IP) cells using a dot plot.
Show this exampleCompare Hmga2 across development, with its highest expression in neuroepithelial (NEC) cells.
Show this exampleCompare early and late expression patterns in neuroepithelial (NEC) and radial glial (RG) populations.
Explore early Sntb2 expression in NEC and RG populations using a prenatal dot plot.
Show this exampleExamine later Sparcl1 expression in NEC and RG populations. Tile labels show the small number of contributing observations, highlighting sparse sampling.
Show this exampleExplore contrasting developmental trajectories across neuronal and glial populations.
Pou3f1 expression peaks early across IT glutamatergic populations, while showing sustained higher expression in L5 ET cells.
Show this exampleCompare declining Prox1 expression in SST/MGE-derived GABAergic populations with increasing expression in CGE-derived GABAergic populations.
Show this exampleExplore increasing Sox10 expression in oligodendrocyte precursor cells (OPCs) and high expression in oligodendrocytes.
Show this exampleExplore additional developmental patterns and compare expression between genes.
Explore Chrna6 expression across L5 ET subclusters. Expression begins relatively late, around P9, and peaks in adulthood; the distinct Chrna6 subset corresponds to clusters 371–373.
Show this exampleCompare Pvalb expression in Pvalb and Sst populations, with Pvalb expression onset around P11–P14.
Show this exampleCompare Sst expression in Sst and Pvalb populations. Sst expression suggests earlier Sst-type formation, around P3.
Show this exampleCompare the neurogenesis markers Sox4 and Sox11 across cell types. Their expression is generally correlated, with relatively higher Sox4 expression in oligodendrocytes.
Show this exampleCux2 expression decreases in Pvalb/Sst GABAergic populations while increasing in L2/3 IT glutamatergic populations.
Show this exampleThe viewer is based on the data resource associated with:
Gao, Y., van Velthoven, C. T. J., Lee, C., et al. Continuous cell-type diversification in mouse visual cortex development. Nature (2025). View the publication DOI.
Source documentation, notebooks, manifests, expression matrices, metadata, and taxonomy annotations are available through the Developing Mouse Visual Cortex dataset documentation and the ABC Atlas Access Python package.
The app uses a pseudobulk AnnData source generated from the raw Developing Mouse Visual Cortex single-cell count matrix. Raw counts were summed separately for each combination of library_label and the source cluster identifier (cluster_alias). This identifier is retained here as data-preparation provenance, but is not exposed as a selectable metadata field in the viewer. Each row is a library-by-cluster observation, each column is a gene, and each value in X is the summed raw count across contributing cells. A matching sparse number_of_cells_expressing layer records how many source cells have a raw count greater than zero for each gene and pseudobulk observation.
number_of_cells records the total number of cells contributing to each pseudobulk observation.number_of_cells_expressing provides the numerator used to calculate the fraction of cells expressing a selected gene.stage field, assigning embryonic ages to embryonic and postnatal ages to postnatal.The pseudobulk source was converted into a gene-partitioned Parquet resource. Each gene is stored under counts_by_gene/gene=<gene_key>/ with sample_id, summed_counts, and number_of_cells_expressing. The app opens only the selected partition and supports one or multiple Parquet files in that directory. If detection counts are unavailable in an older partition, expression-only views can still be used. Fraction-expressing views and fraction-sized dot plots require valid detection counts; dot size does not fall back to expression.
Expression is displayed as counts per ten thousand (CP10K), using the existing CPM scaling factors:
CPM scaling factor = 1,000,000 / total counts across all genes in the pseudobulk observation
CP10K for a selected gene = summed counts × (CPM scaling factor / 100)
Users may display CP10K or ln(CP10K + 1), calculate the fraction of cells expressing a gene as number_of_cells_expressing / number_of_cells, and exclude zero-count observations. For grouped dot-plot values, fractions are weighted correctly by summing expressing-cell counts and total-cell counts before division.
obs_metadata.parquet contains pseudobulk metadata and unique sample_id values.gene_map.parquet maps gene symbols to filesystem-safe partition keys.CPM_scaling.csv contains row-aligned CPM scaling factors.value_sets.csv supplies authoritative label order and colors for categorical metadata.table_column_definitions.csv is a required local startup file supplying on-hover definitions for statistics-table headers.abc_atlas_gene_urls.csv.gz is a required local startup file mapping genes to precomputed ABC Atlas links.www/tokens.csv, when present with token, type, and name columns, supplies the searchable biological glossary in the sidebar.Values absent from value_sets.csv are retained and assigned distinct fallback colors. For cluster-level exploration, use subcluster, as in the Chrna6 example; cluster_alias is not offered as a metadata selector.
The app anonymously reads lightweight metadata and statistics at startup and retrieves expression only for selected genes. No AWS credentials are required. Current test data are in the public TEST_dev_mouse S3 prefix.
The left panel controls gene retrieval, stacked filtering, expression scaling, and plot configuration. Filter and plot controls appear after the first gene has loaded.
sample_id, calculates CP10K, and stores the result in an in-memory cache.The selector starts empty, displays an example gene, and does not require deleting a prefilled value.
This tab contains a sortable table of gene-level exploratory statistics, including expression magnitude, developmental change, regional and subclass specificity, fraction-expressing summaries, and gene type. Numeric fields retain numeric sorting and range filters. Gene symbols are plain text; hovering over a defined column header displays its description. Use the separate sidebar GeneCards button to open the loaded gene.
Exact-value multi-select filters are provided below the table for gene_symbol, max_ROI, max_subclass, and gene_type. Selections within one field use OR; filters across fields use AND. Gene-symbol filtering uses the plain gene symbol. Selecting a table row places the gene into the Gene symbol control.
The plotting tab supports five visualization types with matching plot-specific statistical summaries.
The trajectory plot displays expression or fraction expressing across an ordered progression variable. Developmental ages are biologically ordered; visual gaps are capped to compress large unsampled intervals while retaining endpoint padding.
The heatmap displays mean expression or mean fraction expressing for every occupied combination of two dimensions.
The dot plot uses the same two-dimensional grouping as the heatmap. Dot color represents mean expression, while dot area represents the weighted fraction of cells expressing the gene. Min. dot size and Max. dot size control the displayed size range without changing the underlying proportions; combinations with no data remain absent. The note below the plot reports separate sparse rook-neighbor Moran's I tests with 999 permutations for expression and fraction expressing.
The distribution plot shows expression or fraction-expressing distributions across horizontal-axis groups and second-dimension facets.
This plot compares two separately retrieved genes across matched sample_id values after applying active filters. The selected metric can be ln(CP10K + 1) or fraction expressing.
log10(number_of_cells) when cell counts are available.Most users should use the hosted viewer. The repository also supports local development and reproducible deployment.
arrow;shiny, bslib, arrow, dplyr, ggplot2, scales, shinycssloaders, cachem, DT, and jsonlite;abc_atlas_gene_urls.csv.gz and table_column_definitions.csv in the app directory, plus the existing logo assets under www/.The app uses renv.lock to record tested package versions.
code/shiny/.renv.lock.install.packages("renv")
renv::restore()
# From the code/shiny/ directory opened above:
shiny::runApp(".")
.
├── .github/workflows/deploy-connect.yml
├── code/
│ ├── data-preparation scripts
│ └── shiny/
│ ├── app.R
│ ├── abc_atlas_gene_urls.csv.gz
│ ├── table_column_definitions.csv
│ ├── renv.lock
│ └── www/
│ ├── Developing_Mouse_Visual_Cortex_logo.png
│ ├── allen_institute_logo.svg
│ └── tokens.csv
├── index.html
├── README.md
└── requirements.txt
Large expression files, pseudobulk sources, metadata, and gene statistics remain outside GitHub in external data assets and public AWS storage.
If you use the viewer or underlying data, cite the source study:
Gao, Y., van Velthoven, C. T. J., Lee, C., et al. Continuous cell-type diversification in mouse visual cortex development. Nature (2025). View the publication DOI.
Please also report the viewer version or Git commit and the public-data access date.
Questions, bug reports, and suggestions are welcome. Open a GitHub issue or contact Jeremy Miller.
The Rebuilding and Deployment Guide documents the reproducible workflow used to prepare the pseudobulk and Parquet resources, publish data to AWS, run the Shiny app, deploy to Posit Connect, and configure automated deployment.
The underlying resource was generated through extensive experimental, computational, taxonomy, data-access, and publication efforts. We acknowledge the teams responsible for data generation, quality control, analysis, taxonomy construction, ABC Atlas Access, public cloud hosting, reproducible workflows, and application deployment.