Statistical analysis
This section describes the statistical framework used to identify abnormal phenotypes in mutant mice compared with controls. It introduces the statistical methods used by IMPC, including Fisher’s exact test for categorical data, the linear mixed model for continuous data, and the reference range plus method. It also explains the applicable significance thresholds and p-values and provides guidance on interpreting model attributes reported on chart pages.
Overview of statistical methods
IMPC data originate from many types of assays. Each assay has different characteristics so they cannot be analysed with a single statistical approach. As of data release 12, the IMPC uses a toolkit called OpenStats, available as an R package, to apply appropriate statistical methods for each data type. Previous releases relied on PhenStat for statistical analysis, also available as an R package.
The OpenStats package provides statistical methods for the identification of abnormal phenotypes with an emphasis on high-throughput data flows. The package contains:
- Dataset pre-processing and checking for minimal requirements; and
- 3 statistical tests to identify a significant genotype effect on the phenotype:
- Fisher’s exact test for categorical data
- Linear mixed model (LMM) for continuous data
- Reference range plus (RR+) model for low N continuous data
All analysis frameworks output a statistical significance measure, an effect size measure, model diagnostics (when appropriate), and data visualization (particularly chart pages).
Further details are available in the OpenStats package documentation and the OpenStats publication.
Categorical data: Fisher’s exact test
Categorical data are analysed using Fisher’s exact test. This method involves constructing a contingency table to group animals by phenotype and biological group, e.g. mutant versus baseline. Currently, phenotypes for a given trait are grouped together and compared to the frequency of normal phenotypes collectively. Examples of this type of analysis include abnormal coat colour and abnormal eye morphology.
Continuous data: linear mixed model
Continuous data are analysed using a linear mixed model. This model compares measurements between genotypes while accounting for other factors that may influence the results, such as sex and, where appropriate, body weight. It also accounts for differences between groups of animals measured on different dates, known as batch effects. Batch is generally treated as a random effect, allowing measurements from the same date to share a higher or lower baseline. This helps prevent differences between measurement dates from being mistaken for a genotype effect. The model can also assess whether the effect of genotype differs between males and females.
Analysis is performed without using body weight as a covariate if body-weight data are insufficient, i.e., more than 20% of weight data are missing, if any sex-genotype group has fewer than four non-missing weight observations, or if body weight has already been taken into account, as specified in IMPReSS. This includes all measurements normalised against body weight and all the parameters of the intraperitoneal glucose tolerance test (IPGTT). They are analysed without using body weight as a covariate because the glucose dose for the IPGTT is calculated based on body weight.
The linear mixed model allows the statistical procedure to determine significant shifts that can be attributed to the genotype as opposed to the other covariates. Examples of this type of analysis include hypoactivity in open field and circulating insulin levels in clinical chemistry.
Relevant publications:
- Impact of temporal variation on design and analysis of mouse knockout phenotyping studies.
- The fallacy of ratio correction to address confounding factors.
- Reporting phenotypes in mouse models when considering body size as a potential confounder.
Continuous data: reference range plus
The reference range plus method is used for Auditory Brain Stem Response parameters mapped to it in the statistical method map, based on a decision made in consultation with biological and data-domain experts. It may also be used as a fallback when analysis by the linear mixed model fails. This technique involves comparing measurements to predefined ranges that are deemed to capture acceptable variability in wild-type controls. These comparisons, which lead to discrete values (within range vs. out-of-range), are then assessed statistically using Fisher’s exact test.
Before the reference range plus analysis is run, complete-case control observations are counted for the relevant sex levels. The analysis is only performed when the control count is more than 60 animals for each sex relevant to the experiment.
Significance and p-value
Generally, the IMPC has adopted a significance level of 10-4 (P < 0.0001), which is the one displayed on the website, unless otherwise indicated. This is the choice made when screens of thousands of genes are conducted, to maintain a false discovery rate (FDR) below 5%. Please note that the significance level for pain sensitivity data, based on 110 genes, is 10-3 (P < 0.001).
Learn more:
- Analysis of mammalian gene function through broad-based phenotypic screens across a consortium of mouse clinics, Nature Genetics 2015: read the study.
- P-value choice for pain sensitivity analyses: Identifying genetic determinants of inflammatory pain in mice using a large-scale gene-targeted screen, Pain 2021: read the pain-sensitivity study.
Interpreting the model attributes table
The model attributes table on a chart page describes the fitted statistical model and its diagnostics. For continuous parameters analysed with a linear mixed model, it includes genotype and covariate effects, sex-specific comparisons, and information about the model’s batch and residual variance structure. The statistical method displayed above the table identifies the model used and whether body weight was included. Available attributes depend on the analysis.
Parameter estimates describe effects on the scale used by the fitted model. They account for the other terms retained in that model and are not necessarily equal to differences between the raw group means. Standard errors describe uncertainty in the corresponding estimates, rather than the variability of individual mice. The interpretation of a main-effect coefficient also depends on the reference groups and any retained interactions.
| Model attribute | Interpretation |
|---|---|
| Batch Effect Significant | Indicates whether the model retains a batch effect to account for variation between experiment dates. This is a model-structure flag, not a genotype phenotype call. OpenStats model optimisation compares models using the corrected Akaike information criterion (AICc); the word “Significant” in the display should not be read as a test against the phenotype threshold. |
| Variance Significant | Indicates retention of a residual variance structure rather than a common residual variance for all observations. In a non-windowed model this can allow different residual variances between genotype groups; in a soft-windowed model the variance structure also incorporates the observation weights. This flag does not establish a phenotype of increased or decreased variability. |
| Genotype*Sex Interaction Effect P-Value | Assesses whether the genotype effect depends on sex. This is distinct from testing the genotype effect within males or females. A significant result in one sex and a non-significant result in the other does not, by itself, establish a genotype-by-sex interaction. |
| Genotype Parameter Estimate | The fitted genotype coefficient, with wild-type controls as the reference. A negative value indicates a lower fitted response for mutants for the contrast represented by the coefficient; a positive value indicates a higher response. If the model retains a genotype-by-sex interaction, the main genotype coefficient applies to the reference sex rather than representing a common effect across both sexes. |
| Genotype Standard Error Estimate | The standard error of the genotype parameter estimate. It is expressed on the same scale as that estimate and is not the standard deviation of mutant measurements. |
| Genotype Effect P-Value | The reported p-value for the genotype effect. Interpret it together with the model and the sex-specific results. For standard IMPC phenotype annotation, the relevant genotype comparison must meet the threshold of P < 0.0001. |
| Sex Parameter Estimate | The fitted contrast between the model’s sex levels. Its sign depends on the reference sex. If a genotype-by-sex interaction is retained, the main sex coefficient describes the sex contrast in the reference genotype. This is not the mutant-versus-control effect within a sex. |
| Sex Standard Error Estimate | The standard error of the sex parameter estimate. |
| Sex Effect P-Value | The p-value for the sex effect in the model. A small value indicates evidence for a sex effect, not evidence that the knockout has a phenotype. |
| Intercept Estimate | The fitted response for the reference categories when numeric covariates are zero on the scale used by the model. It is not the overall mean. With uncentred (without subtracting their mean) body weight as a covariate, zero weight may lie outside the observed data, so the intercept need not have a direct biological interpretation. |
| Intercept Estimate Standard Error | The standard error of the intercept estimate. |
| Sex Male KO P-Value | The p-value for the mutant-versus-control comparison within males. It does not compare male mutants with female mutants. |
| Sex Female KO P-Value | The p-value for the mutant-versus-control comparison within females. It does not compare female mutants with male mutants. |
| WT Residuals Normality Tests | The normality-test p-value for residuals from wild-type observations. A small value indicates departure from the tested normal distribution. This is a model diagnostic, not a phenotype test. |
| KO Residuals Normality Tests | The corresponding normality-test p-value for mutant observations. A large value does not prove normality. Interpret both residual diagnostics alongside the residual plots and sample sizes, since large datasets can detect small departures from normality. |
| Weight Effect P-Value | The p-value for the body-weight covariate. Here “Weight” means body weight, not the soft-windowing weight. A small value does not, by itself, imply that the mutant mice have an abnormal body-weight phenotype. |
| Weight Effect Parameter Estimate | The change in the fitted response per unit increase in body weight, holding the other model terms constant, for a model with an additive body-weight effect. Use the measurement units and model scale when interpreting the coefficient. |
| Weight Effect Standard Error Estimate | The standard error of the body-weight coefficient. |
A p-value displayed as 0 should be interpreted as numerically or display-limited, rather than as an exact mathematical zero. Missing attributes should not be interpreted as zero effects or non-significant results: a term or diagnostic may be absent or unavailable for that analysis.