# qPCR relative expression

`assay_qpcr_relative_expression` · Runs: Built, not hosted · Level: Tested, not reference-checked

Works out relative gene expression from qPCR Cq values, normalised to reference assays and calibrators.

Research and education software; not medical advice, and not for diagnosis or treatment decisions. It computes from the inputs it receives. It does not check the person's data, design or sample.

[Catalogue](https://www.drybench.com/mcp/catalogue) / [Assays](https://www.drybench.com/mcp/catalogue/assays)

[Ask your assistant](https://www.drybench.com/mcp/connect) · [Open in Drybench Assay](https://www.drybench.com/assay/app)

```cite
qPCR relative expression (assay_qpcr_relative_expression), Drybench MCP server 1.0.0; qpcr-relative-expression@1.1.0 (Tested, not reference-checked); qpcr-fold-change-welch-interval@1.0.0 (Checked against a reference); https://www.drybench.com/mcp/tools/assay-qpcr-relative-expression
```

## What it is

Required: method (delta-delta-cq, efficiency-corrected). Computes qPCR relative expression by delta-delta Cq (E = 2) or efficiency-corrected Pfaffl/Hellemans quantities, returning biological-sample log2 fold change, fold change, well summaries, and per-condition geometric mean with 95% Welch t-interval (withheld below three biological samples). Requires biologicalSamplesConfirmed: true.

Field: [Assays](https://www.drybench.com/mcp/catalogue/assays). It is the same calculation as [Drybench Assay](https://www.drybench.com/assay/app), called by an AI assistant through the server.

## What it does

**You give**

- `rows` (required): Cq rows: { run, well, sample, condition, calibrator: boolean, technical, assay, role: 'target'|'reference'|'ntc'|'no-rt', cq: number|'undetermined'|null, status? }.
- `method` (required): Quantity model: equal-efficiency 'delta-delta-cq' or 'efficiency-corrected'.
- `biologicalSamplesConfirmed` (required): Must be true: sample IDs identify independent biological samples.
- `efficiencies`: For efficiency-corrected: { assay, value, convention?: 'fold'|'percent', source } per assay.
- `technicalSpreadLimit`: Technical Cq spread threshold in cycles (default 0.5).

No request is recorded for this tool.

**Limits**

- 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.
- No other limit is recorded for this tool.

Every reply also carries its app's limits line: "Fold changes are relative to this run's calibrator samples and the reference assays you chose; the tool does not test reference-gene stability or normalise between runs, treats amplification efficiencies as fixed (E = 2 under ΔΔCq), and gives an interval only with at least three biological samples on each side."

### Every input, with its units

5 inputs

- `rows` (required): Cq rows: { run, well, sample, condition, calibrator: boolean, technical, assay, role: 'target'|'reference'|'ntc'|'no-rt', cq: number|'undetermined'|null, status? }.
- `method` (required): Quantity model: equal-efficiency 'delta-delta-cq' or 'efficiency-corrected'.
- `biologicalSamplesConfirmed` (required): Must be true: sample IDs identify independent biological samples.
- `efficiencies`: For efficiency-corrected: { assay, value, convention?: 'fold'|'percent', source } per assay.
- `technicalSpreadLimit`: Technical Cq spread threshold in cycles (default 0.5).

## The calculation

2 methods, each with its equations, constants and worked example.

### [qPCR relative expression](https://www.drybench.com/methods/m/qpcr-relative-expression/1.1.0)

`qpcr-relative-expression@1.1.0`

No equation is recorded for this version.

Kind of method: not recorded.

Worked example: not recorded for qpcr-relative-expression\@1.1.0.

### [Welch t-interval on the log₂ fold change](https://www.drybench.com/methods/m/qpcr-fold-change-welch-interval/1.0.0)

`qpcr-fold-change-welch-interval@1.0.0`

No equation is recorded for this version.

Kind of method: not recorded.

Worked example: not recorded for qpcr-fold-change-welch-interval\@1.0.0.

## Sources

No source is recorded for this tool's methods.

Read by AI-assisted sessions. No person has checked these readings.

## How it is checked

**Level:** Tested, not reference-checked, the lowest of its 2 methods.

**Checked against:** qPCR relative expression: Exact ΔΔCq and independently calculated unequal-efficiency fixtures; no reference-gene stability validation or inter-run normalization. Group intervals are the Welch method's, verified separately. Welch t-interval on the log₂ fold change: A hand Welch computation with SciPy t quantiles on 10 synthetic Cq tables: bounds within 1e-9, df within 1e-9 relative, withheld reasons exact; R t.test agrees on all 8 intervals (12 October 2026).

**Cases:** qPCR relative expression: No case set is linked to this version. Welch t-interval on the log₂ fold change: No case set is linked to this version.

**Worked example:** Published worked example, run through the tool: Livak and Schmittgen 2001, Table 1, every printed average CT, SD, ΔCT, ΔΔCT and fold change.

**Hostile inputs:** Sent 280 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:** qPCR relative expression: Not recorded. Its absence does not mean everything was checked. Welch t-interval on the log₂ fold change: Not recorded. Its absence does not mean everything was checked.

No independent scientist has yet reviewed this.

### What this project's records still lack

5 things

- A case worked by hand from the source's equation for both methods.
- The equation for both methods.
- The constants with their sources for both methods.
- A case set linked to this version for both methods.
- A record of what was not checked for both methods.

### Cite a number from this tool

the 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.

```cite
assay_qpcr_relative_expression, 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-qpcr-relative-expression. There is no result to quote; this line identifies the call and its receipt.
```

### Changes to its methods

0 changes

No change is logged for these method versions.
