Genetics Input/Output Functions
Overview
Implements readers and writers for file formats associated with genetics data. Reading and writing Plink BED/BIM/FAM and GCTA binary GRM formats is fully supported, including a lightning-fast BED reader and writer implementations. Other functions are 'readr' wrappers that are more constrained, user-friendly, and efficient for these particular applications; handles Plink and Eigenstrat tables (FAM, BIM, IND, and SNP files). There are also make functions for FAM and BIM tables with default values to go with simulated genotype data.
- 6th CRAN submission
- Fixed an R-devel warning about
sprintfusage (see below). - Solution was to replace calls to
sprintf, all of which then went tostop, with direct calls tostop. ``` - checking compiled code ... WARNING
File ‘genio/libs/genio.so’:
Found ‘sprintf’, possibly from ‘sprintf’ (C)
Objects: ‘read_bed_cpp.o’, ‘write_bed_cpp.o’
Compiled code should not call entry points which might terminate R nor
write to stdout/stderr instead of to the console, nor use Fortran I/O
nor system RNGs nor [v]sprintf.
```
Show all changes in 1.1.2Hide the rest of the changes in 1.1.2
- Ran spellcheck, made one correction.
- Updated
cran-comments.md
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 35includes a package overview page
- Examples that run
- 100%35 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 97%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 0%
- Median days to close, 50 most recently updated closed issues
- 1
- Median days to close, 50 most recently updated closed PRs
- 84
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/ochoalab/genio on 2026-10-11.
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 1.1.2Latest
- 1.1.12022-04-27 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.0.252021-07-27 · diff ↗
- 1.0.232021-06-11 · diff ↗ ·
added 13 exports
count_lines, delete_files_grm, delete_files_phen, geno_to_char, read_eigenvec, read_grm, read_matrix, require_files_grm, require_files_phen, tidy_kinship, write_eigenvec, write_grm, write_matrix - RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 1.0.12
- 1.0.102019-05-28 · diff ↗
- 1.0.92019-05-24
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2019-05-24
- Total releases
- 7 / 7 yrs
- License
- GPL-3 OSI
- Download size
- 570 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("genio")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.