Definition robustness

A conclusion can depend on how rearrangements are grouped into clonotypes. Compare declared alternatives while keeping the biological observations and analysis settings fixed.

Audit a saved comparison

  1. Save a checked study design, its subject features and a group comparison with the intended features and tests.
  2. In Cohort → Definition robustness, choose that comparison. Keep the original receptor dataset available for the initial capture.
  3. Declare one to five scientifically defensible alternatives before inspecting outcomes. The visible choices cover nucleotide/amino-acid junctions and V/J gene, allele, family or omitted calls.
  4. Select Audit definitions. Inspect each feature, its estimates and intervals, and the assigned evidence under every definition.

The baseline plus alternatives keep the same subjects, exclusions, contrast, QC, chain/cell/productivity rules, selected features, confidence, tests and randomization settings. Definitions must differ in meaning. An AA definition requires productive sequences, so it cannot silently replace an NT baseline that includes nonproductive sequences. Baseline measurements and inference must exactly reproduce the saved result.

Read direction and uncertainty separately

Synthetic 32-subject study with four declared definitions, all mean effects and marginal intervals, and a richness contrast that changes directionSynthetic 32-subject study with four declared definitions, all mean effects and marginal intervals, and a richness contrast that changes direction
Sixteen subjects per group, unequal UMI depths and a sparse abundance tail. Synonymous junctions and explicit V-gene/allele distinctions change the partitions. This controlled example demonstrates definition sensitivity; it is not a fitted human repertoire or evidence of a biological response.

Each forest row is one analysis of the same subjects. Rows remain in declared order. Points are comparison-minus-reference mean effects; bars are marginal t intervals. A zero reference line helps read direction. Missing intervals and failed analyses remain explicit. Select a row to inspect its complete subject observations and probability-effect/rank-test table.

The plain summaries describe whether effect directions agree or change and how marginal intervals relate to zero. They do not use a p-value threshold. The minimum, maximum and span of estimates are a descriptive range, not a confidence interval. Agreement does not prove equivalence, a biological truth, joint coverage or robustness to alternatives you did not declare.

Changing definitions changes receptor partitions and can change assigned abundance or the meaning of diversity. Expand Definitions, assigned evidence and exclusions to compare per-sample richness and abundance. These observed-depth features are not rarefied or coverage-standardized. UMI counts and clonotypes are not independent biological replicates.

One declared audit family

The original within-definition Benjamini–Hochberg values remain available. Additional Benjamini–Yekutieli correction covers both tests for every feature and every declared definition. Failed slots stay in the family as p=1 internally and remain unavailable in output. BY accommodates dependent tests when the input p-values are valid; it cannot correct outcome-driven selection of analyses or violated test assumptions. Intervals remain marginal and are not adjusted by BY.

This is a descriptive sensitivity audit inspired by specification-curve analysis. It does not implement that method's joint inferential test, pool effects or treat definitions as replications. It covers aggregate subject features. Individual-clonotype count models require a separately defined correspondence between changing receptor partitions and are outside this audit.

Saved evidence and exports

The audit retains the full parent comparison/design, source notices, definitions, captured per-sample abundance vectors, every feature table, results and failure reasons. Saved reopening and ZIP export need no raw source. Replay needs the saved comparison and captured job evidence; original diversity/feature grandparents need not be present.

Export definition audit ZIP includes complete JSON, manifest, sensitivity.csv, one subject-feature CSV per available definition and provider NOTICE. Figure exports retain the rules, contrast, units, subject counts and interval meanings. Methods includes saved evidence and citations. Remote clients use audit_definitions.

The implementation accepts at most 256 source samples, 200 selected subject/group observations, six total definitions and 400,000 positive sample/clonotype abundance entries per definition. These bounds are not power recommendations.

Method sources