-
Notifications
You must be signed in to change notification settings - Fork 0
Validation and Self Test
Each statistical routine is compared with its reference implementation on inputs that anyone can obtain. The results are recorded in VALIDATION.md, with the maximum deviation observed for each check. Two checks are provided:
- In-app self-test. Sixteen components on a deterministic synthetic dataset (below).
-
External validation on public data. The demo dataset in the repository (GEO GSE63310) is analyzed by the application and by R.
validation/reference.Rproduces the reference values, andtests/validation.spec.jscompares them with the application's results (33 checks).
| Component | Reference |
|---|---|
| TMM normalization | edgeR calcNormFactors
|
| filterByExpr | edgeR filterByExpr
|
| Moderated t, moderated F, covariate models | limma lmFit, eBayes
|
| voom | limma voom (3.66) |
| CAMERA, FRY | limma camera, fry
|
| MDS | limma plotMDS
|
| Batch removal (display) | limma removeBatchEffect
|
| RRHO | Bioconductor RRHO |
| Hypergeometric test, regression, density | R stats, scipy, statsmodels |
| Power model | RNASeqPower |
Validate statistics runs the suite in your browser:
- A deterministic synthetic dataset is regenerated from a seeded pseudo-random generator.
- The dataset is processed by the same functions that the tabs use.
- Sixteen components are compared with reference values computed in R, scipy and statsmodels and embedded in the application.
- The panel lists every compared value with its reference and tolerance, the reference package versions and the browser engine.
Download evidence (JSON) saves the full record. The analysis state is saved before the test and restored afterwards.
The repository's test suite runs the self-test, the demo-dataset analysis with pinned results, and the external validation in Chromium, Firefox and WebKit on every commit.
TMM's trimming depends on exact ranks of log-ratios. Differences in the last bits of floating-point sums between platforms can change a tie and shift a factor slightly. The implementation reproduces R's summation order.
Start
Data preparation
Statistics
- Differential expression
- Covariates and pairing
- Multiple contrasts
- Statistical power
- Gene-set testing
- Discovery screen
- Patterns and clustering
- Heatmaps
- Co-expression
Comparing datasets
Output
Background