Population overview
Summarize patient numbers by condition, optionally broken down by dataset.
Summarize patient numbers by condition, optionally broken down by dataset.
Patient count matrix (condition × dataset)
Description
Analysis summary
Counts the patients available per condition, optionally broken down per dataset, to gauge cohort sizes before any deeper analysis.
Computation
Counts distinct patients per condition — and per dataset when a dataset column is given with more than one value — returning a count table; with exactly one condition, the count is returned as a sentence instead.
When to use
Use as the entry point of a multi-analysis report: it answers 'how many patients are there per condition (and per dataset)'. For per-variable breakdowns of those patients, use this module's multi-column summary mode.
Caveats
Counts are distinct patients per cell of the matrix; a patient appears once per condition it belongs to, not once overall.
Input columns
Visualizations
population_overviewHow to read: A Markdown table with one row per condition and one column per dataset; each cell is the number of distinct patients with that condition in that dataset (blank when none). With a single dataset the table shrinks to condition → patient count, and with a single condition to a one-sentence count.
Last updated
Was this helpful?