Last updated: 2026-07-28

Checks: 2 0

Knit directory: immgenT-GP-analysis/analysis/

This reproducible R Markdown analysis was created with workflowr (version 1.7.2). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


Great! Since the R Markdown file has been committed to the Git repository, you know the exact version of the code that produced these results.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version d538aa2. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .DS_Store
    Ignored:    .claude/
    Ignored:    analysis/.DS_Store
    Ignored:    analysis/.Rhistory
    Ignored:    analysis/assets/.DS_Store
    Ignored:    captions/
    Ignored:    code/.DS_Store
    Ignored:    code/other/topic_flashier_20250212.R
    Ignored:    code/other/topic_wrapper_20250215_alldata_backfit.sh
    Ignored:    data
    Ignored:    experiments/
    Ignored:    figures/.DS_Store
    Ignored:    figures/Previous/.DS_Store
    Ignored:    figures/Previous/bits/.DS_Store
    Ignored:    figures/Previous/bits/Figure 1/.DS_Store
    Ignored:    figures/Previous/bits/Figure 2/.DS_Store
    Ignored:    figures/Previous/bits/Figure 3/.DS_Store
    Ignored:    figures/Previous/bits/Figure 4/.DS_Store
    Ignored:    figures/Previous/bits/Figure 6/.DS_Store
    Ignored:    figures/Previous/bits/Figure 7/.DS_Store
    Ignored:    figures/Previous/bits/Figure S1/.DS_Store
    Ignored:    figures/Previous/bits/Figure S2/.DS_Store
    Ignored:    figures/Previous/bits/Figure S3/.DS_Store
    Ignored:    figures/Previous/bits/Figure S6/.DS_Store
    Ignored:    figures/Previous/bits/Figure S7/.DS_Store
    Ignored:    figures/final-selected/.DS_Store
    Ignored:    figures/final-selected/Figure 1/.DS_Store
    Ignored:    figures/final-selected/Figure 2/.DS_Store
    Ignored:    figures/final-selected/Figure S4/.DS_Store
    Ignored:    log/
    Ignored:    output/Figure2/
    Ignored:    output/Figure7b/7b_cell_metadata.csv.gz
    Ignored:    plan/
    Ignored:    reorder/
    Ignored:    tables/
    Ignored:    tmp/

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the repository in which changes were made to the R Markdown (analysis/index.Rmd) and HTML (docs/index.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
html d538aa2 Ziang Zhang 2026-07-28 Build site: reordered Figures 6 / S6 / S3 and the new Figure 7b page
Rmd 4c07670 Ziang Zhang 2026-07-28 Reorder Figures 6, S6 and S3; make the ex-S5 figure Figure 7b
html 029b0ae Ziang Zhang 2026-07-28 Build site.
Rmd 0f5b5da Ziang Zhang 2026-07-28 Align all figure captions with captions_20260728_final.docx
html d0ebed0 Ziang Zhang 2026-07-28 Build site: Extended Data Table 7 as the manual protein threshold list
Rmd cf77f4e Ziang Zhang 2026-07-28 Extended Data Table 7: swap GP gating alignment for the manual protein thresholds
html 3fc3789 Ziang Zhang 2026-07-27 Republish all 24 pages
html 1390a03 Ziang Zhang 2026-07-27 Republish all 24 pages
html adaef21 Ziang Zhang 2026-07-27 Build site: panel fixes and PDF-derived assets
html 5b19858 Ziang Zhang 2026-07-27 Build site.
html 9862b6d Ziang Zhang 2026-07-23 Build site.
Rmd 98d2924 Ziang Zhang 2026-07-23 Reword Figure S5 page for a publication audience
html 9398c72 Ziang Zhang 2026-07-23 Publish Figure S5 workflowr page
Rmd b9f4f58 Ziang Zhang 2026-07-23 Add Figure S5: EBMF vs matched-RQVI level2-cluster comparison
Rmd b197499 Ziang Zhang 2026-07-16 Restructure main figures (renumber + split Figure 1)
html b197499 Ziang Zhang 2026-07-16 Restructure main figures (renumber + split Figure 1)
Rmd f0c481d Ziang Zhang 2026-07-14 Document CITE-seq fixed-loading EBMF workflow
html f0c481d Ziang Zhang 2026-07-14 Document CITE-seq fixed-loading EBMF workflow
Rmd c344aaa Ziang Zhang 2026-07-13 Add Figure S4 mean-loading heatmaps
html c344aaa Ziang Zhang 2026-07-13 Add Figure S4 mean-loading heatmaps
Rmd cba8dd4 Ziang Zhang 2026-07-12 Add Methods page: Flashier matrix factorization
html cba8dd4 Ziang Zhang 2026-07-12 Add Methods page: Flashier matrix factorization
html c5cbc77 Ziang Zhang 2026-07-08 Build site.
Rmd fb8c855 Ziang Zhang 2026-07-08 Add Extended Data Table 8: comprehensive gene signature matrix (long + wide)
html 92d1365 Ziang Zhang 2026-07-05 Build site.
Rmd d07f797 Ziang Zhang 2026-07-05 Replace Table S1/S2/S3 with 7 fully-reproducible Extended Data Tables
html 92021bf Ziang Zhang 2026-07-02 Build site.
html 827c89b Ziang Zhang 2026-07-02 Build site.
Rmd f9db962 Ziang Zhang 2026-07-02 Simplify layout: drop old code/script folders, rename
html c6e5086 Ziang Zhang 2026-07-02 Build site.
html 5a79883 Ziang Zhang 2026-07-02 Build site.
Rmd 2b0e445 Ziang Zhang 2026-07-02 Fix GitHub source links to point at the new
html cf1d0ac Ziang Zhang 2026-07-02 Build site.
Rmd 06b2461 Ziang Zhang 2026-07-02 Initial commit: immgenT-GP-analysis
html 06b2461 Ziang Zhang 2026-07-02 Initial commit: immgenT-GP-analysis

This site documents the gene program (GP) factorization analysis of the ImmGen-T single-cell RNA-seq/CITE-seq data: ~200 GPs learned by empirical Bayes matrix factorization (EBMF), and how they relate to cell lineage, tissue, activation state, transcription factors, and surface protein expression.

Each page below covers one published figure: for every panel, the R code that produced it, the figure itself, and a short caption explaining what it shows.

Main figures

Figure 7 (RQVI validates EBMF-derived gene programs with a non-linear deep learning framework) is otherwise produced by our collaborator’s RQVI pipeline, not by this repository; only its panel b is ours, and the page above covers that panel alone.

Extended Data figures

Published as Extended Data Figures 1-4, 6 and 7; the page names below keep the older FigureS* form so existing links stay valid. There is deliberately no Extended Data Figure 5: it became main Figure 7b on 2026-07-28 and the remaining figures kept their numbers rather than shifting up.

Extended Data Figure 7 (RQVI scalability and representative matches to lineage-associated EBMF GPs) is likewise produced by the collaborator’s RQVI pipeline and has no page here.

Reproducing these figures

Every page above is generated by a single R script in script/, which sources shared plotting/data-loading helpers from code/R/. To regenerate a figure yourself, run (from the repository root):

Rscript script/Figure1.R