readMapFile: Read file with information about SNPs chromosome and...

Description Usage Arguments Value Author(s) See Also

View source: R/readMapFile.R

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


GreenwoodLab/RVPedigree documentation built on May 6, 2019, 6:33 p.m.