read.bed {lfa}R Documentation

File input: .bed

Description

Reads in genotypes in .bed format with corresponding bim and fam files

Usage

read.bed(bed.prefix)

Arguments

bed.prefix

Path leading to the bed, bim, and fam files.

Details

Use plink with –make-bed

Value

Genotype matrix

Examples

# 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")

[Package lfa version 1.20.0 Index]