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

Provide function that reads binary genotype produced by 'PLINK' <https://www.cog-genomics.org/plink/1.9/input#bed> into a R matrix, or scan the genotype one variant at a time like apply(), it also provides functions that reads and 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>. Currently it does not support writing back into 'PLINK' binary, it is best used for bringing data produced by 'PLINK' and 'GCTA' into R environment.

Getting started

Package details

AuthorXiaoran Tong [aut, cre]
MaintainerXiaoran Tong <tongxia1@msu.edu>
LicenseGPL (>= 2)
Version0.1.0
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 April 5, 2020, 5:06 p.m.