readMapFile: Read file with information about SNPs chromosome and position, for example from regular PLINK .map OR .bim file

Description

These files have (at least) the following columns (separated by white space):

Usage

1
readMapFile(filename = "NULL", morgans = TRUE)

Arguments

filename

character, path to input file containing genomic map data, e.g. a Plink .map, .bim or .tped file.

morgans

logical, indicate whether input file contains column with genetic distance between SNPs (in which case the bp positions are in the fourth column)

Value

matrix object with columns contains chromosome, rsID and position in bp

Author(s)

Sodbo Sharapov

See Also

read.haplo, read.haplo.pedfile, read.haplo.bedfile, read.haplo.shapeit_haps


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.