Growth-rate inhibition metrics
assay_gr_metrics
Works out growth-rate inhibition (GR) metrics from cell counts or a readout proportional to cell number.
- Runs
- Held: built, not on the server yet
- Level
- Tested, not reference-checked
Why it is held. Its results have not yet been compared with a worked example from a published source. That is a missing check, not a fault found. No worked example or tested case has been run through it.
What it is
Computes growth-rate inhibition (GR) metrics from time-zero, untreated, optional blank, and treated readings: per-well GR, GRmax, GR_AOC, and fitted GR curve metrics (GEC50 with profile interval, hGR, GRinf, GR50). Treated wells require concentrationUnit; it is never assumed. Refuses below 0.5 untreated doublings, fewer than 4 concentrations, or nonpositive blank-corrected readings.
Field: Assays. It is the same calculation as Drybench Assay, called by an AI assistant through the server.
What it does
You give
readings(required): Wells: { well, role ('treated'|'untreated'|'time-zero'|'blank'), concentration (in concentrationUnit, treated only), value, plate? }.concentrationUnit: Molar unit of treated well concentrations (M, mM, µM, nM, pM, fM). Required iff any reading is treated or carries concentration.
No request is shown while this tool is held.
Limits
- Independent Gaussian errors with constant variance.
- Observations within a plate are exchangeable under no dose effect (rule ii).
- 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
- Zero residual variance or a relative-weighted fit: no interval.
- Fewer than four distinct concentrations, or a concentration at or below zero used as a point: the curve is not fitted.
- No response evidence (permutation rank-trend p >= 0.05): the IC50 is withheld.
- Permutation rank-trend test cannot be computed (concentrations do not vary within a block): the IC50 is withheld.
Every input, with its units2 inputs
readings(required): Wells: { well, role ('treated'|'untreated'|'time-zero'|'blank'), concentration (in concentrationUnit, treated only), value, plate? }.concentrationUnit: Molar unit of treated well concentrations (M, mM, µM, nM, pM, fM). Required iff any reading is treated or carries concentration.
Every refusal, with its code13 refusals
| Code | When |
|---|---|
withheld | Zero residual variance or a relative-weighted fit: no interval. |
RULE_I | Fewer than four distinct concentrations, or a concentration at or below zero used as a point: the curve is not fitted. |
RULE_II | No response evidence (permutation rank-trend p >= 0.05): the IC50 is withheld. |
RULE_II_NOT_COMPUTABLE | Permutation rank-trend test cannot be computed (concentrations do not vary within a block): the IC50 is withheld. |
RULE_III_BELOW | Fewer than two tested concentrations lie below the fitted IC50: withheld. |
RULE_III_ABOVE | Fewer than two tested concentrations lie above the fitted IC50: withheld. |
RULE_IV | A free plateau has fewer than two tested concentrations at or beyond its bend point: withheld. |
RULE_V_BELOW | Absolute IC50 (percent scale): fewer than two concentrations with fitted response below 50%: withheld. |
RULE_V_ABOVE | Absolute IC50 (percent scale): fewer than two concentrations with fitted response above 50%: withheld. |
NOT_PERCENT_SCALE | scale is 'raw': absolute IC50 withheld. |
NO_ABSOLUTE_CROSSING | Fitted percent-scale curve does not cross 50% at a finite concentration: absolute IC50 withheld. |
NUMERICALLY_UNRESOLVED_STEP | Least squares reaches a step limit between two tested concentrations: withheld. |
NUMERICALLY_UNRESOLVED | Least squares has no finite minimum (beyond-range or plateau-runaway): withheld. |
The calculation
4 methods, each with its equations, constants and worked example.
No equation is recorded for this version.
Kind of method: not recorded.
Worked example: not recorded for gr-metrics@1.1.0.
Profile extra-sum-of-squares interval on log10 C50profile-likelihood-log-ic50@2.1.1
Hold logIC50 at a trial value, refit the other free parameters, and record the objective. The interval's bounds are the two values of logIC50 at which the refitted objective rises to minimum × (1 + F(0.95
1, ν) is the square of t(0.975, ν). A bound not reached within 10 log10 units, or after an unresolved refit, is reported as not bounded within the search, not as infinite. Since 2.1.0, a held refit that runs to the Hill face takes the |Hill| → ∞ limit.
Source 1.
Two readings: source 1 can be read as The extra-sum-of-squares F test with one degree of freedom for the held parameter, at P = 0.05: the bound is where SS_held = SS_min × (1 + F(0.95; 1, DF)/DF), as the guide's steps 1 to 6 describe or as The same page says Prism itself computes the interval by Venzon and Moolgavkar's likelihood-profile algorithm; the page read does not give that algorithm's threshold, so whether it matches the F form for every n − p was not checked. This project takes The extra-sum-of-squares F test with one degree of freedom for the held parameter, at P = 0.05: the bound is where SS_held = SS_min × (1 + F(0.95; 1, DF)/DF), as the guide's steps 1 to 6 describe, because The brief (§4.1) and this project's ruling of 6 October 2026 chose the F form, which the project's R oracle also uses (uniroot on the same threshold); the two differ most for small n − p. Taking The same page says Prism itself computes the interval by Venzon and Moolgavkar's likelihood-profile algorithm; the page read does not give that algorithm's threshold, so whether it matches the F form for every n − p was not checked would give a different result.
| Constant | Value | From |
|---|---|---|
Significance level of the held-parameter F test (a 95 percent interval) alpha | 0.05 | Source 1 |
Conventions
- Convention chosen by this project: the search for each bound stops 10 log10 units from the estimate, and a bound not reached is reported as not bounded within the search. A wider search could report a finite bound there instead; a narrower one would report more intervals as not bounded. Every bound found inside the search is the same under every choice.
Kind of method: not recorded.
Worked example
Worked example: one case of profile-likelihood-log-ic50@2.1.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
- points[0].concentration = 0.0001
- points[0].response = -0.078
- points[1].concentration = 0.000033333333333333335
- points[1].response = 0.479
- points[2].concentration = 0.000011111111111111112
- points[2].response = 6.634
- points[3].concentration = 0.0000037037037037037037
- points[3].response = 8.238
- points[4].concentration = 0.000001234567901234568
- points[4].response = 16.416
- points[5].concentration = 4.11522633744856e-7
- points[5].response = 38.245
- points[6].concentration = 1.3717421124828532e-7
- points[6].response = 72.189
- points[7].concentration = 4.5724737082761776e-8
- points[7].response = 84.997
- points[8].concentration = 1.5241579027587257e-8
- points[8].response = 97.081
- points[9].concentration = 5.080526342529086e-9
- points[9].response = 98.388
- concentrationUnit = M
- weighting = none
Steps
- F: F(0.95; 1, 6) = t(0.975, 6)² = 5.987378, from t = 2.44691185.
- min: R nls minimum = 44.8596200.
- threshold: min × (1 + F/(n − p)) = 89.624867, gives threshold.
- bounds: R uniroot on refits = lower -6.662939, upper -6.454156 (R's; not a hand step).
The working, as the case writes it:
The bounds are where the refitted objective equals the threshold.
Answer
threshold = 89.624867
Where these values came from: another program's fit of our model; R's direct profile (uniroot on refits with logIC50 held) as printed in stored reference values.
The build has not run this example through the tool.
Response evidence and reporting policyic50-rules@2.0.0
Counting distinct concentrations with at least one kept well, the first of (i) to (v) that fires withholds the value with its reason
(vi) keeps it and flags it. (i) Refuse: fewer than four concentrations, or a concentration at or below zero used as a point. (ii) No response evidence: a two-sided within-plate permutation test of the rank covariance between concentration and response gives p ≥ 0.05 or cannot be computed (exact through n = 8
otherwise 1,999 permutations from a fixed seed with the plus-one p-value). (iii) Relative IC50 not bracketed: fewer than two concentrations on either side of the fitted IC50. (iv) A free plateau unbracketed: fewer than two concentrations at or beyond its bend point, IC50 × k^(±1/|Hill|), k = 4.6805 (the top plateau's bend point lies at low concentrations for a falling curve)
a fixed plateau is exempt. (v) Absolute IC50 (percent scale only): fewer than two concentrations where the fitted curve is below 50, or fewer than two where it is above. (vi) Poorly determined: the profile interval is wider than two log10 units, or unbounded. On a fit with no finite minimum, (ii) to (v) are evaluated at the best point and the IC50 is withheld even if none fires.
Source 2.
| Constant | Value | From |
|---|---|---|
Bend-point constant: the root of (k − 1) ln k = k + 1, worked by this project, used as 4.6805 (the root is 4.680499 to seven figures) k | a table of values, part of the method | Source not recorded |
Conventions
- Convention chosen by this project: an IC50 is shown only when at least four concentrations were tested, the response trend has p < 0.05, and at least two concentrations lie on each side of the IC50 and beyond each free plateau's bend point; it is flagged when its interval is wider than two log10 units. Only the bend-point rule follows a published guideline (Sebaugh 2011, read in abstract). With three concentrations allowed, three-point curves would be fitted; with p < 0.01, more IC50s from weak or noisy curves would be withheld; with one concentration on each side, IC50s near the edge of the tested range would be shown; with a wider interval limit, fewer would be flagged. The fitted curve is the same under every choice; only whether its IC50 is shown, withheld or flagged changes.
Kind of method: not recorded.
Worked example
Worked example: one case of ic50-rules@2.0.0, 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
- points[0].concentration = 0.0001
- points[0].response = -0.078
- points[1].concentration = 0.000033333333333333335
- points[1].response = 0.479
- points[2].concentration = 0.000011111111111111112
- points[2].response = 6.634
- points[3].concentration = 0.0000037037037037037037
- points[3].response = 8.238
- points[4].concentration = 0.000001234567901234568
- points[4].response = 16.416
- points[5].concentration = 4.11522633744856e-7
- points[5].response = 38.245
- points[6].concentration = 1.3717421124828532e-7
- points[6].response = 72.189
- points[7].concentration = 4.5724737082761776e-8
- points[7].response = 84.997
- points[8].concentration = 1.5241579027587257e-8
- points[8].response = 97.081
- points[9].concentration = 5.080526342529086e-9
- points[9].response = 98.388
- concentrationUnit = M
- weighting = none
Steps
- root: (k − 1) ln k = k + 1, solved by bisection; used as 4.6805 = 4.680499.
- logk: log10(4.6805) = 0.6702922.
- halfwidth: log10(k)/|Hill| = 0.5935458, from Hill = -1.12930167; gives bendHalfWidthLog10.
- topBend: logIC50 − half-width = -7.148921.
- bottomBend: logIC50 + half-width = -5.961829.
- counts: count = at or below the top bend point: 3; at or beyond the bottom bend point: 5.
The working, as the case writes it:
half-width = log10(4.6805)/|Hill|
bend points logIC50 ∓ half-width.
Answer
bendHalfWidthLog10 = 0.5935458
Where these values came from: another program's fit of our model; The condition the engine states, k the root of (k − 1) ln k = k + 1, worked by this project (Sebaugh and McCray 2003, which the engine cites for the bend points, not read); R's rule checks as printed in stored reference values.
The build has not run this example through the tool.
Concentration-unit caution threshold above 0.1 Mconcentration-unit-caution-0.1m@1.0.0
No equation is recorded for this version.
Kind of method: not recorded.
Worked example: not recorded for concentration-unit-caution-0.1m@1.0.0.
Sources
GraphPad Software. Prism 8 Curve Fitting Guide: How profile likelihood asymmetrical confidence intervals are computed.
Used for: Profile extra-sum-of-squares interval on log10 C50. At: section The basic idea of profile likelihood asymmetrical confidence intervals, steps 1 to 6; How Prism computes profile likelihood confidence intervals; section steps 3 and 5.
Read in full, 11 November 2026
Cited, not read
Sebaugh JL. Guidelines for accurate EC50/IC50 estimation. Pharm Stat 2011;10:128-134.
Used for: Response evidence and reporting policy. At: section the guideline of two concentrations beyond each bend point.
Not readSebaugh JL, McCray PD. Defining the linear portion of a sigmoid-shaped curve: bend points. Pharm Stat 2003;2:167-174.
Used for: Response evidence and reporting policy.
Subscription only; never read. The engine cites it for the bend points; it is not the source of k = 4.6805, which is anchored on its stated condition and arithmetic (this project's ruling of 11 November 2026). Whether k is this paper's constant and definition is not confirmed. Listed for a person to read.
Not read
How it is checked
- Level
Tested, not reference-checked, the lowest of its 4 methods.
- Checked against
Growth-rate inhibition (GR) metrics: GR metrics: unit-tested on the hand cases of the published definition (per-well GR to 1e-8; GR50 equal to GEC50 for a cytostatic curve, half of it for GRinf −0.5, 2^−½ of it at hGR 2; GR_AOC 0.75 on four levels); the oracle written from the definition (SciPy curve_fit with the bounds) agrees on 13 cases, GR, GRmax and GR_AOC within 1e-9 and the fitted values within 1e-6 (h within 1e-5) (verification set 0.11.0). Checked against the GRmetrics 1.32.0 package (Bioconductor 3.20, R 4.4.3) on the same inputs, 9 cases and 48 groups of its example inputCaseA: per-well GR and GR_AOC agree within 1e-9 on all 57; the 52 fits agree, and the 5 flat curves have no fit on either side; GRmax agrees on 39 and differs on 18, where the package's value is always the lower; on the 9 local cases the package's rule was recomputed from the engine within 1e-9, and on the 16 example groups it is inferred, not recomputed. GR uses the group's mean time-zero and untreated counts; the GRmetrics package can use each row's own, which changed per-well GR by up to 0.08 on its example (inputCaseA). GRmax here is the mean GR at the highest concentration; the package's is the lower of the mean GR at the two highest (its function .GRlogisticFit: GRmax = min(GRavg[c(l, l - 1)])): on the flat case 0.906 here and 0.894 in the package, on the step-like case −0.4998 here and −0.5003 in the package. On a flat curve the engine withholds GEC50 by its rank-trend rule and the package fits a flat line on its F test; neither reports a GEC50.
Profile extra-sum-of-squares interval on log10 C50: Unweighted profile extra-sum-of-squares computation checked against compatible R fixtures. Uses an approximate nonlinear F threshold; bounds beyond or unresolved within the search are not claimed mathematically infinite.
Response evidence and reporting policy: Version 2 uses a two-sided within-plate rank permutation test at 0.05 for response evidence, plus numerical, bracketing and plateau checks. Exchangeability is required; this app-specific reporting policy does not establish biological activity. Version 1 F-gate fixtures are archival.
Concentration-unit caution threshold above 0.1 M: Unit-tested trigger on the highest tested molar concentration; 10 November 2026.
- Cases
Growth-rate inhibition (GR) metrics: No case set is linked to this version.
Profile extra-sum-of-squares interval on log10 C50: No case set is linked to this version.
Response evidence and reporting policy: No case set is linked to this version.
Concentration-unit caution threshold above 0.1 M: No case set is linked to this version.
- Hostile inputs
Sent 115 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
Growth-rate inhibition (GR) metrics: Not recorded. Its absence does not mean everything was checked.
Profile extra-sum-of-squares interval on log10 C50: No statistical text deriving the F threshold for a nonlinear model was read; the GraphPad guide describes it and was read in full (11 November 2026). The method record's own citation says Prism names this interval its initial default; that page was read by an earlier session on 5 October 2026 and not re-read here.
Response evidence and reporting policy: k = 4.6805 is the root of (k − 1) ln k = k + 1, worked by this project. Sebaugh and McCray 2003, cited for the bend points, has not been read; whether this is their constant and their definition is not confirmed.
Concentration-unit caution threshold above 0.1 M: Not recorded. Its absence does not mean everything was checked.
- Open
Its results have not yet been compared with a worked example from a published source. That is a missing check, not a fault found. No worked example or tested case has been run through it.
What was not checked, in fullfrom the method records
Profile extra-sum-of-squares interval on log10 C50
- No statistical text deriving the F threshold for a nonlinear model was read; the GraphPad guide describes it and was read in full (11 November 2026).
- The method record's own citation says Prism names this interval its initial default; that page was read by an earlier session on 5 October 2026 and not re-read here.
- The bounds come from R's own refits (uniroot on the held fit); the hand case checks the threshold, not the refits.
- Coverage has not been simulated (tracked as [SCI-90](/technical/known-issues) in Known issues).
- No published case set names profile-likelihood-log-ic50@2.1.1.
Response evidence and reporting policy
- k = 4.6805 is the root of (k − 1) ln k = k + 1, worked by this project.
- Sebaugh and McCray 2003, cited for the bend points, has not been read; whether this is their constant and their definition is not confirmed.
- A different definition of the bend point gives a different k, and would show or withhold some curves differently.
- Sebaugh 2011 was read in abstract only.
- The level stays as the engine's record states it and is not raised until a person has read Sebaugh and McCray 2003 (this project's ruling of 11 November 2026).
- The permutation test's p-value for n above 8 (fixed-seed permutations) is not worked by hand; the hand case covers rule (iv).
- No published case set names ic50-rules@2.0.0; the version 1 F-gate fixtures are archival.
What this project's records still lack6 things
- A case worked by hand from the source's equation for gr-metrics@1.1.0 and concentration-unit-caution-0.1m@1.0.0.
- A run of the worked example through the tool for profile-likelihood-log-ic50@2.1.1 and ic50-rules@2.0.0.
- The equation for gr-metrics@1.1.0 and concentration-unit-caution-0.1m@1.0.0.
- The constants with their sources for gr-metrics@1.1.0 and concentration-unit-caution-0.1m@1.0.0.
- A case set linked to this version for all four methods.
- A record of what was not checked for gr-metrics@1.1.0 and concentration-unit-caution-0.1m@1.0.0.
Changes to its methods2 changes
- 14 November 2026, gr-metrics@1.1.0: In 1.1.0 the profile stays inside the GR fit's own bounds: each refit with GEC50 held stays in the box, a refit that stops on a bound is taken at that bound (a point of the model), and each side's search stops at the edge of the GEC50 range, where an uncrossed side is reported as reaching the search limit. Near a bound the interval's calibration is approximate. The GR CSV now ends with a row naming the method and version.
- 21 November 2026, profile-likelihood-log-ic50@2.1.1: In 2.1.1 the profile moves with the fit: beyond 2^±100 it is formed on the responses after the fit's power-of-two scale, and its threshold and minimum multiplied back; the bounds are log10 concentrations and are not scaled. Inside 2^±100 every result is the same double: 1,000 seeded realistic calls of each of the eight tools that fit through the four-parameter fit were compared reply by reply with the previous version and all 8,000 were equal. Across 2,400 calls of those tools with the responses scaled by 10^-300 to 10^300, every changed reply had its largest response beyond 2^±100. Curves whose own responses span more than about 2^1000 were not checked; with 1/Y² weighting, a response that far below the largest can be lost in the scale.