Read PLINK binary data and save in gData format. This is a wrapper around
read.plink
in the Bioconductor package
snpStats
. This package needs to be installed for the function to
work.
readPLINK(bed, bim, fam, ...)
An object of class gData
.
The name of the file containing the packed binary SNP genotype data. It should have the extension .bed; If it doesn't, then this extension will be appended.
The file containing the SNP descriptions. If not specified
bed
is used with its file extension replaced by bim.
The file containing subject (and, possibly, family) identifiers.
This is basically a tab-delimited "pedfile". If not specified
bed
is used with its file extension replaced by fam.
Further arguments passed to read.plink
.