| m | No | genes tested. Only applies when method is exact. | |
| n | No | biological replicates in the control group, when solving power. Only applies when solve_for is power. | |
| m1 | No | genes expected to be differentially expressed. Only applies when method is exact. | |
| fdr | No | the false discovery rate to control across the experiment. | |
| pi0 | No | the proportion of genes with no effect. A list asks the question once per proportion, which is how the answer's sensitivity to it is read. Only applies when method is average_power. | |
| count | No | λ₀, the average read count for a prognostic gene in the control group. Only applies when method is exact. | |
| max_n | No | the largest replicate count to search. Only applies when method is average_power. Advanced. | |
| power | No | the power to reach, when solving n. | |
| sigma | No | the common within-gene standard deviation on that scale. Only applies when method is average_power. | |
| _files | No | The project: record references shaped like _subject. Their records become library documents a tool names in sequences/parts/document; a trace or alignment is found by file name. | |
| counts | No | a pilot's average read count per gene. With `dispersions`, the power is computed for each of these genes and averaged, instead of for one idealised gene. Only applies when method is exact. | |
| method | No | which question. `exact` powers one prognostic gene with the exact negative-binomial test at an α derived from the FDR; `average_power` asks what the mean power across genes is when each gene's effect is drawn from a normal. Values: exact (Exact negative-binomial test), average_power (Average power across genes). | exact |
| _subject | No | The record to act on: exactly one of sequence, accession (+source), sample (an id from list_samples) or file ({name, text} or {name, base64}); record_index picks one record of several. | |
| effect_sd | No | the spread of those true effects ACROSS genes; 0 would make every gene identical. Only applies when method is average_power. | |
| solve_for | No | size the experiment, or score a design you already have. Values: n (Replicates per group), power (Power). | n |
| dispersion | No | φ₀, the negative-binomial dispersion of a prognostic gene — the square of the biological coefficient of variation. Only applies when method is exact. | |
| size_ratio | No | k, the ratio of treatment to control group size. Only applies when method is exact. Advanced. | |
| dispersions | No | the dispersion of each gene in `counts`, in the same order. Only applies when method is exact. | |
| effect_mean | No | the mean of the normal each gene's true log-fold-change is drawn from. Only applies when method is average_power. | |
| fold_change | No | ρ, the minimum fold change to detect in a prognostic gene. Only applies when method is exact. | |
| normalisation_ratio | No | w, the ratio of the two groups' normalisation factors. Only applies when method is exact. Advanced. | |