Skip to content

plinkFile

0.2.1

'PLINK' (and 'GCTA') File Helpers

0packages depend
15.8Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Xiaoran TongFirst published 2020-04-052 releasesCRAN page ↗

Reads/write binary genotype file compatible with 'PLINK' <https://www.cog-genomics.org/plink/1.9/input#bed> into/from a R matrix; traverse genotype data one windows of variants at a time, like apply() or a for loop; reads/writes genotype relatedness/kinship matrices created by 'PLINK' <https://www.cog-genomics.org/plink/1.9/distance#make_rel> or 'GCTA' <https://cnsgenomics.com/software/gcta/#MakingaGRM> into/from a R square matrix. It is best used for bringing data produced by 'PLINK' and 'GCTA' into R workflow.

Install

Health

CRAN checks
13OK
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
None
Vignettes
No
README
0
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

15.8K
CRAN downloads in the past year
Rank #20,177 · ~43/day · ~1.3K/mo
21730 days
59590 days
15.8K1 year
Also on94 r2u19 autocran
Source & community

Repository stars, issues, and contributor activity are not tracked yet.

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
Imports (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
indirect (not tracked)

Nothing depends on this yet.

Code

2,155Lines of code
14Exported functions

Line coverage

Expression

Tests / Examples

Functions

29 14 exported

Complexity

5.1 avg / 24 max

Call network

29 nodes / 33 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (1)
Maintainer (1)
Author, Maintainer
Release timeline

2 releases. Pick two to compare their code metrics; R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2.1Latest
    2023-11-24 · current release
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.0
    2020-04-05

Package metadata

First published
2020-04-05
Total releases
2 / 6 yrs
License
GPL (>= 2) OSI
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet