Skip to content

Refresh datasets page from 2.4 build and add reusable dataset stats generator - #505

Open
jjacobson95 wants to merge 1 commit into
mainfrom
docs-dataset-stats-216
Open

jjacobson95 wants to merge 1 commit into
mainfrom
docs-dataset-stats-216

Conversation

@jjacobson95

@jjacobson95 jjacobson95 commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

Documentation Update #4


Merge this fourth.

Refreshes the Datasets Included documentation page so its numbers reflect the
released 2.4 build, and adds a reusable script to regenerate those numbers for
future releases.

Changes:

  • scripts/gen_dataset_stats.py: Reads a local build's
    local/all_files_dir and writes a wide per-dataset CSV to
    docs/source/_static/dataset_counts.csv. Per dataset it reports model
    type(s), unique samples, unique drugs, unique genes across omics,
    experiment count, per-modality row counts, and the set of dose-response
    metrics present.
  • docs/source/datasets_included.rst: refreshed the Datasets and Modalities
    table (sample/drug counts and modality markers) from the 2.4 build, added a
    Model Type column, updated version references from 2.2.0 to 2.4, and pointed
    the Figshare record to the 2.4 article (33990850).
  • docs/source/_static/dataset_summary_statistics.csv: display the pair counts
    as integers instead of floats.
  • docs/README.md: documented that the Datasets page counts are generated by
    scripts/gen_dataset_stats.py and how to refresh them for a new release.

All 18 released datasets are represented (cNF/phospho remain deferred to 2.5).
Model types are shown as they appear in the released data.

Closes #216

Another note about this PR, and #502 and PR #503: The current live docs are already refreshed and reflect the changes seen here.

…ator

Add scripts/gen_dataset_stats.py, a stdlib-only generator that reads a
local CoderData build and writes a wide per-dataset counts CSV to
docs/source/_static/dataset_counts.csv. Use its 2.4 output to refresh the
Datasets Included overview table (sample/drug counts and modality markers),
bump the version references from 2.2.0 to 2.4, and update the Figshare
record link to the 2.4 article (33990850).

Refs #216
@jjacobson95 jjacobson95 added the documentation Improvements or additions to documentation label Sep 28, 2026
@jjacobson95 jjacobson95 self-assigned this Sep 28, 2026
@jjacobson95 jjacobson95 added this to the 2.4 Documentation milestone Sep 28, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation Site Counts, Figures, Plots are Out of Date

1 participant