Plate quality and Z′
assay_plate_quality
Works out Z-prime, signal window and SSMD for one plate, and checks for edge, row and column patterns.
- Runs
- Built, not hosted
- Level
- Checked against a reference: Z′ worked by hand with sample standard deviations
What it is
Required: format (96, 384). Reports Z-prime, signal window, SSMD, and single-concentration sample Z for one plate. Also reports edge, row, and column patterns within each group. Excluded wells are omitted. The metrics describe the supplied readings and their p-values are unadjusted.
Field: Assays. It is the same calculation as Drybench Assay, called by an AI assistant through the server.
What it does
You give
format(required): Plate format: 96 or 384 wells.wells(required): Wells: { well: 'A01', role: 'positive' | 'negative' | 'sample', value: number (raw reading), concentration?: number (in concentrationUnit, samples), excluded?: boolean }.concentrationUnit: Unit of the sample wells' concentrations (M, mM, µM, nM, pM or fM; the enum's other spellings accepted and echoed in canonical form; case-sensitive). Required when any well carries a concentration, refused when none does; never assumed; converted to mol/L and echoed under inputsUsed.
No request is recorded for this tool.
Limits
- Both groups use the same reading scale.
- Each group uses the same reading scale.
- The nominal p-values use the corresponding Welch or additive-model assumptions.
- Every computed number a reply returns, other than an integer or an exact decimal, is rounded once to 12 significant figures: to the nearest, a change of at most 5 × 10⁻¹² of its value, except that a lower bound is rounded down and an upper bound up, a change of less than 1 × 10⁻¹¹; the method computes, and decides any pass or fail, on the unrounded value.
It will not answer when
- No control readings remain.
- Either control group has fewer than two readings.
- Control means do not separate beyond numerical rounding.
- A required group is smaller than the method's minimum.
Every input, with its units3 inputs
format(required): Plate format: 96 or 384 wells.wells(required): Wells: { well: 'A01', role: 'positive' | 'negative' | 'sample', value: number (raw reading), concentration?: number (in concentrationUnit, samples), excluded?: boolean }.concentrationUnit: Unit of the sample wells' concentrations (M, mM, µM, nM, pM or fM; the enum's other spellings accepted and echoed in canonical form; case-sensitive). Required when any well carries a concentration, refused when none does; never assumed; converted to mol/L and echoed under inputsUsed.
Every refusal, with its code10 refusals
| Code | When |
|---|---|
NO_CONTROLS | No control readings remain. |
TOO_FEW_WELLS | Either control group has fewer than two readings. |
NO_SEPARATION | Control means do not separate beyond numerical rounding. |
TOO_FEW_WELLS | A required group is smaller than the method's minimum. |
NO_SEPARATION | The required group means do not separate beyond rounding. |
NO_VEHICLE_SPREAD | The positive control spread needed by the signal window is below the rounding bound. |
NO_SPREAD | The necessary variance or model residual spread is below the rounding bound. |
MIXED_CONCENTRATIONS | Kept sample readings are assigned different concentrations. |
TOO_FEW_SAMPLES | Fewer than sixteen sample readings remain. |
TOO_FEW_LEVELS | The layout has too few levels or residual degrees of freedom for the additive test. |
The calculation
2 methods, each with its equations, constants and worked example.
Z′ = 1 − 3(s₊ + s₋)/|m₊ − m₋|.
| Symbol | Meaning |
|---|---|
m₊, m₋ | means of the kept positive and negative control readings, as-given |
s₊, s₋ | sample standard deviations of those readings, with n − 1 in the denominator, as-given |
Z′ | a dimensionless measure of separation after accounting for spread, 1 |
Source 1.
| Constant | Value | From |
|---|---|---|
Standard deviation multiplier 3 | 3 | Source 1 |
Separation convention 0.5 | 0.5 | Source 1 |
Kind of method: not recorded.
Worked example
Worked example: one case of z-prime@2.0.1, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- format = 96
- wells[0].well = A1
- wells[0].role = positive
- wells[0].value = 16
- wells[0].excluded = false
- wells[1].well = A2
- wells[1].role = positive
- wells[1].value = 18
- wells[1].excluded = false
- wells[2].well = A3
- wells[2].role = positive
- wells[2].value = 20
- wells[2].excluded = false
- wells[3].well = B1
- wells[3].role = negative
- wells[3].value = 0
- wells[3].excluded = false
- wells[4].well = B2
- wells[4].role = negative
- wells[4].value = 2
- wells[4].excluded = false
- wells[5].well = B3
- wells[5].role = negative
- wells[5].value = 4
- wells[5].excluded = false
Steps
- z-prime: 1 − 3(2 + 2)/|18 − 2| = 0.25, from mPositive = 18, mNegative = 2, sPositive = 2, sNegative = 2; gives result.zPrime.zPrime.value.
The working, as the case writes it:
The control means are 18 and 2. Both sample standard deviations are 2. Substituting into equation 5 gives 1 − 12/16 = 1/4.
Answer
result.zPrime.zPrime.value = 0.25
Where these values came from: our own exact-arithmetic script and a hand-worked case; Zhang, Chung and Oldenburg 1999, p. 71, eq. 5.
The build has not run this example through the tool.
Equation 1
SW = (|m₊ − m₋| − 3(s₊ + s₋))/s₊. This is the single-replicate form with absolute control separation.
| Symbol | Meaning |
|---|---|
m₊, m₋ | means of kept positive and negative controls, as-given |
s₊, s₋ | sample standard deviations of the same groups, as-given |
Source 2.
Equation 2
SSMD = (m₊ − m₋)/√(s₊² + s₋²). The estimate uses sample moments and retains the sign of the mean difference.
| Symbol | Meaning |
|---|---|
m₊, m₋ | means of kept positive and negative controls, as-given |
s₊, s₋ | sample standard deviations of the same groups, as-given |
Source 3.
Equation 3
Z = 1 − 3(sₛ + s₋)/|mₛ − m₋|. The reference group is the background control defined on page 69.
| Symbol | Meaning |
|---|---|
m₊, m₋ | means of kept positive and negative controls, as-given |
s₊, s₋ | sample standard deviations of the same groups, as-given |
mₛ, sₛ | mean and sample standard deviation of the kept sample readings, as-given |
Source 1.
Equation 4
Set vᵢ = sᵢ²/nᵢ for each of the two groups. The statistic is t = (m₁ − m₂)/√(v₁ + v₂), with df = (v₁ + v₂)²/(v₁²/(n₁ − 1) + v₂²/(n₂ − 1)). The two-sided p-value is 2 × CDFₜ(−|t|).
| Symbol | Meaning |
|---|---|
mᵢ, sᵢ | sample mean and standard deviation of edge or interior readings, as-given |
nᵢ, df | group size and degrees of freedom, 1 |
Source 4.
Equation 5
For each factor, F = [(SSEreduced − SSEfull)/df₁]/[SSEfull/df₂]. The full model contains the row and column terms. The reduced model omits the tested term. The p-value is the upper tail of F.
| Symbol | Meaning |
|---|---|
SSE | least-squares residual sum of squares, (as-given)^2 |
df₁, df₂ | difference in model ranks and the full model's residual degrees of freedom, 1 |
Source 5.
| Constant | Value | From |
|---|---|---|
Standard deviation multiplier in the signal-window and Z equations 3 | 3 | Source 2 |
Kind of method: not recorded.
Worked example
Worked example: one case of plate-diagnostics@1.0.2, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- format = 96
- wells[0].well = A1
- wells[0].role = positive
- wells[0].value = 16
- wells[0].excluded = false
- wells[1].well = A2
- wells[1].role = positive
- wells[1].value = 18
- wells[1].excluded = false
- wells[2].well = A3
- wells[2].role = positive
- wells[2].value = 20
- wells[2].excluded = false
- wells[3].well = B1
- wells[3].role = negative
- wells[3].value = 0
- wells[3].excluded = false
- wells[4].well = B2
- wells[4].role = negative
- wells[4].value = 2
- wells[4].excluded = false
- wells[5].well = B3
- wells[5].role = negative
- wells[5].value = 4
- wells[5].excluded = false
Steps
- control-span: |18 − 2| = 16 as-given, from mPositive = 18, mNegative = 2; gives result.diagnostics.controlSpan.value.
- signal-window: (16 − 3(2 + 2))/2 = 2, from span = 16, sPositive = 2, sNegative = 2; gives result.diagnostics.signalWindow.value.value.
- ssmd: 16/√(2² + 2²) = 5.656854249492381, from difference = 16, sPositive = 2, sNegative = 2; gives result.diagnostics.ssmd.value.value.
The working, as the case writes it:
Both groups have sample standard deviation 2 because the sum of squared deviations is 8 and the divisor is 2. The positive minus negative mean is 16. Substituting into the anchored formulas gives a window of 2 and SSMD of 4√2.
Answer
result.diagnostics.controlSpan.value = 16 as-given
result.diagnostics.signalWindow.value.value = 2
result.diagnostics.ssmd.value.value = 5.656854249492381
Where these values came from: our own exact-arithmetic script and a hand-worked case; Assay Guidance Manual, HTS Assay Validation §3.2.2 step 4. Zhang 2007, J Biomol Screen 12:645–655, p. 646.
The build has not run this example through the tool.
Sources
Zhang JH, Chung TDY, Oldenburg KR. A simple statistical parameter for use in evaluation and validation of high throughput screening assays. J Biomol Screen 1999;4:67–73.
Used for: Z′ (Zhang, Chung and Oldenburg 1999); Plate diagnostics: signal window, SSMD, Z and edge, row and column patterns. At: equation 5, p. 71; table 1, p. 71; equation 4, p. 69, 71, section A Statistical Parameter for HTS.
Read in full, 26 November 2026Iversen PW, Beck B, Chen YF, et al. HTS Assay Validation. Assay Guidance Manual.
Used for: Plate diagnostics: signal window, SSMD, Z and edge, row and column patterns. At: equation Signal Window (SW), p. 5–6, section 3.2.2, step 4.
Read in full, 26 November 2026Zhang XD. A New Method with Flexible and Balanced Control of False Negatives and False Positives for Hit Selection in RNA Interference High-Throughput Screening Assays. J Biomol Screen 2007;12:645–655.
Used for: Plate diagnostics: signal window, SSMD, Z and edge, row and column patterns. At: p. 646, section SSMD when applied to two independent populations.
Read in full, 26 November 2026NIST/SEMATECH e-Handbook of Statistical Methods, Two-Sample t-Test for Equal Means.
Used for: Plate diagnostics: signal window, SSMD, Z and edge, row and column patterns. At: equation Unequal-variance t and Welch–Satterthwaite degrees of freedom, section 1.3.5.3, Test Statistic.
Read in full, 26 November 2026McFarquhar M. Testable Hypotheses for Unbalanced Neuroimaging Data. Front Neurosci 2016;10:270.
Used for: Plate diagnostics: signal window, SSMD, Z and edge, row and column patterns. At: equation Type II comparisons and F = R/(r·σ̂²), table 5, section 2.6 and 3.2.
Read in full, 12 November 2026
How it is checked
- Level
Checked against a reference, the lowest of its 2 methods.
- Checked against
Z′ (Zhang, Chung and Oldenburg 1999): Z′ worked by hand with sample standard deviations on 5 control sets, including the MTT plate and a set refused for a one-well control, within 1e-9 (2026-10-06); and on 6 degenerate and adverse sets (one well in either control, coinciding means, no spread, a negative Z′) in R, within 1e-9 with the refusals exact (10 October 2026). Published case: Z′ arithmetic on six 384-well plates (synlet 2.12.0 vignette, shuffled readouts), within half a unit of the fifth printed decimal (24 November 2026).
Plate diagnostics: signal window, SSMD, Z and edge, row and column patterns: Hand formulas in exact rational arithmetic (Python fractions, 60-digit decimals) on 17 synthetic plates (a hand case, one-well controls, no spread, coinciding means, inverted roles, a dose-response plate, 15 and 16 samples, outer-column controls, a 384 plate with a row gradient, residual df 9 and 10, exclusions, Welch with unequal n and variances): signal window, SSMD, Z, Welch t and df and type II F within 1e-9 relative, p within 1e-8, counts, states and reasons exact; R 4.4.3 t.test and drop1(lm) agree on every computed t, df, F and p (2026-10-13). Method 1.0.1 checks edge and interior spread separately against their own relative rounding bounds: both without spread withholds Welch; just one without spread contributes zero variance. The independent 0.18.0 supplement adds 26 physical-plate cases: states, counts and reasons exact, means, t and df within 1e-9 relative (exact zero within 1e-12 absolute), p within 1e-8 absolute. Python 3.12.14 exact fractions and bounded Student-t sine quadrature pass 34 analytical and identity checks; no new R or SciPy cross-check or extreme-tail relative-accuracy claim (2026-10-25). Z, signal window, SSMD and the edge, row and column tests are checked against R and constructed cases only; the published Z′ case does not cover them (24 November 2026).
- Cases
Z′ (Zhang, Chung and Oldenburg 1999): No case set is linked to this version.
Plate diagnostics: signal window, SSMD, Z and edge, row and column patterns: No case set is linked to this version.
- Worked example
Published worked example, run through the tool: synlet vignette zFactor example, six plates' printed Z′ within the fifth decimal (Z′ only).
- Hostile inputs
Sent 85 malformed, extreme and misspelt calls. None broke it, and every call with an undeclared argument, or with text in place of a number or a true/false value, was declined with a reason.
Run 2026-11-12-2 of 12 November 2026, server 0.11.0.
- Same answer
Called twice and with its arguments in another order, it gave the same result.
Run 2026-11-12-2 of 12 November 2026, server 0.11.0.
- Not checked
Z′ (Zhang, Chung and Oldenburg 1999): The published synlet vignette comparison checks Z-prime arithmetic on shuffled readouts. It provides no independent measurements of plate performance.
Plate diagnostics: signal window, SSMD, Z and edge, row and column patterns: The hand case covers the control span, signal window and SSMD. The constructed R and exact-arithmetic cases cover the layout tests and sample Z.
What was not checked, in fullfrom the method records
Z′ (Zhang, Chung and Oldenburg 1999)
- The published synlet vignette comparison checks Z-prime arithmetic on shuffled readouts.
- It provides no independent measurements of plate performance.
- The hand case is a synthetic arithmetic check.
- The hosted endpoint was not replayed.
Plate diagnostics: signal window, SSMD, Z and edge, row and column patterns
- The hand case covers the control span, signal window and SSMD.
- The constructed R and exact-arithmetic cases cover the layout tests and sample Z.
- The synlet vignette checks published Z-prime arithmetic only.
- Its sample Z uses different control roles and supplies no published-case evidence for this method.
- No measured external dataset or production endpoint replay was checked for this method.
What this project's records still lack2 things
- A run of the worked example through the tool for both methods.
- A case set linked to this version for both methods.
Cite a number from this toolthe cite line
Every reply carries a cite line naming the tool, the server version, each method with its version and level, and the receipt. Quote it with any number taken from the reply.
assay_plate_quality, server 1.0.0; status invalid-input, nothing ran; no method record; receipt <input hash, 12 characters>/<output hash, 12 characters>; methods https://www.drybench.com/methods/assay; page https://www.drybench.com/methods/tools/assay-plate-quality. There is no result to quote; this line identifies the call and its receipt.Changes to its methods2 changes
- 21 November 2026, plate-diagnostics@1.0.2: In 1.0.2 the readings are multiplied by one power of two near the largest absolute reading before any mean, variance or least-squares sum, and the means, differences and spreads multiplied back; every statistic is unchanged by a common scale and a power of two scales a double exactly, so only out-of-range readings move. Every input whose sums stayed in range gives the same bits as before: 1,000 seeded realistic calls of each of the five tools this fix touches, on two seeds, were compared reply by reply with the previous version.
- 21 November 2026, z-prime@2.0.1: In 2.0.1 both controls are multiplied by one power of two near the largest absolute reading before any mean or SD is formed, and the means and SDs multiplied back. Z′ is unchanged by a common positive scale and a power of two scales a double exactly, so only out-of-range readings move; the case above now gives Z′ 0.861 at every scale. Every input whose sums stayed in range gives the same bits as before: 1,000 seeded realistic calls of each of the five tools this fix touches, on two seeds, were compared reply by reply with the previous version.