# mIF drug-development study design worksheet

Version 1.0 | 2026-11-10 | Research documentation only

`mif-study-design-specification.csv` is a **header-only** CSV. It contains no example rows, no default thresholds, no sample sizes, no vendor names, no prices and no measured results. Copy it before entering project data.

It is **not** a validated standard operating procedure, not a statistical analysis plan, not an assessment instrument with a passing score, and **not an import format for QuPath, PathoAxis, Halcon, HALO, Visiopharm or any other platform**. It exists to make a study-design decision explicit, reviewable and comparable across programmes, and to keep two people designing the same study writing down the same things.

## How to use it

One row per planned study. If a study has several arms (for example a discovery cohort and a validation cohort), give each its own `record_id` and carry the shared specification columns across the rows so the rows stay comparable. If a single study is designed twice — once in-house and once with a provider — copy the row and change only the execution and delivery columns; the specification columns describe the study, not the route. Use one file per programme rather than one file per organisation.

## Fields

### Programme and decision

- `record_id` — locally unique id for the row. Use a stable study key.
- `programme_stage` — the stage the evidence feeds, for example `discovery`, `translational_validation`, `retrospective_archival_cohort`, `pre_post_treatment`.
- `development_question` — the question in one sentence, phrased as the decision it must inform.
- `question_class` — `position`, `presence`, `mechanism`, `binding` or `clinical`. A `position` question is the class spatial profiling can answer uniquely; the others are usually better served by another assay.
- `spatial_readout_required` — `yes`, `no`, or `partial`, and why. `no` is a legitimate and valuable answer.
- `decision_if_spatial_answer_moves` — the specific decision that would change if the spatial answer moved. Write `none_identified` if none would. This is the question-filter column that decides whether the study runs at all.
- `decision_owner` — the person accountable for the decision, or `not_named`.

### Specimen, timepoint and pairing

- `specimen_type` — for example `FFPE resection`, `FFPE core`, `FFPE biopsy`, `frozen`, `animal model`.
- `specimen_timepoint` — for example `pre_treatment`, `on_treatment`, `post_treatment`, `single_timepoint`.
- `comparator_specimen` — what the spatial readout is compared against, for example `matched adjacent tissue`, `untreated arm`, `baseline sample from the same patient`, `bulk endpoint`.
- `pairing_design` — `paired`, `unpaired`, or `not_applicable`. An unpaired design cannot support a within-patient change claim; record the intent here.
- `patient_level_denominator` — the unit of analysis, written as a rule, for example "one value per patient". Record the rule, not a number of patients.
- `aggregation_rule` — how several cores or regions from one patient become one value: mean, median, maximum, model-based, or another rule stated in full. Record `not_yet_written` if the rule does not exist yet; that answer is itself decision-relevant.

### Region selection and compartments

- `region_selection_rule` — how regions are chosen: systematic sampling, tumour core, invasive margin, hotspot, whole slide, or another stated rule.
- `regions_per_specimen` — the number of regions analysed per specimen, or `not_yet_defined`.
- `region_inclusion_criteria` — the criteria that admit a region.
- `region_exclusion_criteria` — the criteria that exclude one, for example necrosis, haemorrhage, artefact, insufficient tissue.
- `compartment_definition` — how tumour, stroma, margin and any other compartment are defined and kept separate. Pooling compartments changes the denominator, so the rule belongs here.

### Locked method

- `panel_marker_list` — the markers in the panel, or `not_yet_locked`.
- `panel_state` — `exploratory`, `locked`, or `partial`.
- `antibody_lot_and_concentration` — the antibody and its concentration as specified in the protocol, or `not_yet_locked`.
- `single_stain_reference` — `yes`, `no`, or `partial`: whether single-stain IHC or IF exists as the reference for each target.
- `per_batch_controls` — the controls run with every staining batch, or `not_defined`.
- `revalidation_triggers` — the written events that force revalidation, for example a change of antibody, a change of fluorophore, a change of staining order, a new operator.
- `positivity_rule_version` — the versioned rule that turns intensity into a positive call, or `not_yet_written`.
- `phenotype_rule_version` — the versioned marker logic for phenotype assignment, or `not_yet_written`.
- `segmentation_method_version` — the versioned segmentation method and its acceptance criteria, or `not_yet_written`.

### Spatial metric definition

- `spatial_metric_name` — the name of the metric, exactly as it will appear in the report.
- `spatial_metric_definition` — the metric in words: what is counted, what is the denominator, and how the reference population is defined.
- `distance_threshold_um` — the threshold in micrometres, or `not_yet_set`. Leave it blank rather than copying a value from another study; thresholds are conventions of the study that use them, not universal defaults.
- `threshold_basis` — why that threshold was chosen and what it is anchored to: a positive control, a tissue feature, a prior comparison, or another stated basis.
- `neighbourhood_graph` — the neighbourhood definition used, for example `knn`, `delaunay`, `fixed_radius`, or `not_applicable`.
- `batch_handling_method` — how batch and site differences are handled, or `not_yet_written`.
- `patient_aggregation_statistic` — the statistic computed on the patient-level values, for example a fraction, a mean, a model estimate.

### Analysis record and reporting

- `missing_data_rule` — what happens to a patient with no evaluable region or no positive cells, stated before analysis.
- `analysis_software_name` — the software used for analysis.
- `analysis_software_version` — the version, including modules where relevant.
- `analysis_parameters_id` — the identifier of the parameter set or script that produced the result.
- `code_reference` — where the code or parameters are stored, with a persistent identifier where one exists.
- `roi_selection_documented` — `yes` / `no` / `partial`: whether region selection is written down and reproducible.
- `pathologist_review` — who reviewed the regions and the phenotype calls, or `not_reviewed`.
- `archived_material_source` — where archival material came from and how it was handled, or `not_applicable`.

### Evidence structure

- `primary_endpoint` — the pre-specified primary endpoint of the spatial analysis, or `none_defined`.
- `exploratory_endpoints` — the endpoints declared exploratory, or `none`.
- `cut_off_derivation_set` — the material the cut-off was derived on, or `not_applicable`.
- `cut_off_validation_set` — the independent material the cut-off was tested on, or `not_applicable`.
- `reporting_standard_applied` — the reporting guideline followed, for example a consensus checklist for multiplex assay reporting.
- `metadata_standard` — the metadata standard applied to the image and result record, or `none`.
- `retention_and_audit` — how long the images, process data and results are retained and how they are retrieved for audit.
- `notes` — anything the other columns do not capture.

## Missing values

Blank means not yet specified. Use `not_yet_written`, `not_yet_locked`, `not_yet_set`, `not_yet_defined`, `not_reviewed`, `not_applicable`, `none_defined`, `none_identified` or `unknown` when a field is genuinely inapplicable or unanswered. Do not enter `0` for a count, a price or an unknown. `0` is reserved for a real measured zero — for example a compartment with no evaluable regions. Never substitute a missing value with a default threshold, a vendor figure, a sample size borrowed from another study, or an estimate presented as fact.

## Scope limits

This worksheet records a design and its evidence; it validates nothing. It does not implement image analysis, define acceptable thresholds, define a passing score, or replace qualified review of biological interpretation, statistics or regulatory strategy. A domain specialist should review the specification before it is sent to a provider or used to start staining. Rows are not comparable across studies unless the specification columns match, and a filled row is a record of intent — not evidence that the intent was met.
