| read.bed {lfa} | R Documentation |
Reads in genotypes in .bed format with corresponding bim and fam files
read.bed(bed.prefix)
bed.prefix |
Path leading to the bed, bim, and fam files. |
Use plink with –make-bed
Genotype matrix
# assuming you have PLINK format HapMap data from: http://pngu.mgh.harvard.edu/~purcell/plink/res.shtml
# run this in the unpacked folder
x = NULL
## Not run: x = read.bed("hapmap_r23a")