Learn R Programming

SHLR (version 1.0)

read.shapeit.haps: Helper function to read phased haplotypes produces by SHAPEIT

Description

This function reads phased haplotypes produces by SHAPEIT and convert them into a data structure required by run.SHLR.scan()

Usage

read.shapeit.haps(infile)

Arguments

infile
The phased haplotype file produces by SHAPEIT

Value

  • hapsHaplotype array consists of one haplotype per row.
  • marker.mapMarker map contains information about marker name in the 1st column and marker position in the 2nd column