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

Description Usage Arguments Value Author(s) See Also

Description

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

  • column 1: chromosome

  • column 2: variant name

  • column 3: genetic distance in morgans (optional, see the morgans option)

  • column 4: base-pair position (bp units)

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



Search within the RVPedigree package
Search all R packages, documentation and source code

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

Please suggest features or report bugs with the GitHub issue tracker.

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