Crandore Hub

statgen

Statistical Genetics Data Objects and Loaders

Loads and manages statistical genetics data objects including reference panels, genotypes, LD matrices, annotations, and summary statistics. Follows the 'statgen' specification for use across 'Python', 'R', and 'MATLAB'/'Octave' runtimes.

README

Tiny CRAN-safe fixtures for R package tests are included here in built package
tarballs.

Portable-format fixtures copied into this directory must be small and derived
from the repository-level canonical fixtures under `tests/fixtures/` when
possible. They are generated working-tree copies, not independent committed
sources. Broader cross-runtime parity tests belong in repository-level pytest
tests.

R-native fixtures with no portable counterpart may be committed directly here.

Current copied fixtures:

- `reference_chr1.bim` is a byte-for-byte copy of
  `tests/fixtures/reference/sharded/1.bim`.
- `traits.tsv.gz` is a byte-for-byte copy of
  `tests/fixtures/sumstats/traits.tsv.gz`; it intentionally exercises
  warning paths for missing optional summary-statistics values.
- `traits_complete.tsv.gz` is a byte-for-byte copy of
  `tests/fixtures/sumstats/traits_complete.tsv.gz`; it is the warning-free
  summary-statistics fixture used by examples and vignettes.
- `ld/` is an R-ready copy of `tests/fixtures/ld/python/` with an added
  `reference_cache.rds` and manifest `r_reference_cache` fields. It is used by
  examples and vignettes so installed-package examples can call `load_ld()`
  directly without mutating files under `inst/extdata`.

Prepare copied R fixtures with:

```sh
make prepare-r-fixtures
```

Repository pytest checks that copied fixtures remain synchronized with their
canonical source files.

Versions across snapshots

VersionRepositoryFileSize
0.3.2 rolling linux/jammy R-4.5 statgen_0.3.2.tar.gz 306.5 KiB
0.3.2 rolling linux/noble R-4.5 statgen_0.3.2.tar.gz 306.2 KiB
0.3.2 rolling source/ R- statgen_0.3.2.tar.gz 56.7 KiB
0.3.2 latest linux/jammy R-4.5 statgen_0.3.2.tar.gz 306.5 KiB
0.3.2 latest linux/noble R-4.5 statgen_0.3.2.tar.gz 306.2 KiB
0.3.2 latest source/ R- statgen_0.3.2.tar.gz 56.7 KiB
0.3.2 2026-04-23 source/ R- statgen_0.3.2.tar.gz 0 B

Dependencies (latest)

Imports

Suggests