read.haphap.phasing {genomic}R Documentation

Read raw hapmap phasing data

Description

Function to read HAPMAP phasing data

Usage

read.hapmap.phasing(chromosome,pops=c("CEU","HCB"),path="/data/hapmap/phasing/full/",collapse=FALSE)

Arguments

chromosome The chromosome to be read
pops The populations to be read - out of YRI, CEU and HCB
path The path to the data files
collapse Collapse to a single dataset?

Value

d A list of matrices of haplotypes
positions A list of vectors of positions of the SNPs
n The number of populations

Author(s)

Ian J. Wilson

See Also

extract.hapmap.haplotypes


[Package genomic version 1.0 Index]