plinkFile: 'PLINK' (and 'GCTA') File Helpers

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.

Getting started

Package details

AuthorXiaoran Tong [aut, cre]
MaintainerXiaoran Tong <xiaoran.tong.cn@gmail.com>
LicenseGPL (>= 2)
Version0.2.1
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("plinkFile")

Try the plinkFile package in your browser

Any scripts or data that you put into this service are public.

plinkFile documentation built on Nov. 24, 2023, 5:10 p.m.