read_plink_map_file: Read a PLINK '.map' file

View source: R/read_plink_map_file.R

read_plink_map_fileR Documentation

Description

Read a PLINK .map file

Usage

read_plink_map_file(map_filename)

Arguments

map_filename

name of a PLINK .map file Use read_plink_map_file to read a PLINK .map file.

Value

a tibble with the following columns:

  • CHR: the chromosome code or contig name

  • SNP: Variant identifier

  • position_cm: Position in morgans or centimorgans. This value is optional. Zeroes denote it is unused

  • BP: Base-pair coordinat

Note

The uppercase variable names are chosen to match those used by PLINK, e.g. as can be observed from assoc_qt.

position_cm is still lowercase as I am unsure how PLINK calls this variable. If you know, please let me know.

Author(s)

Richèl J.C. Bilderbeek


richelbilderbeek/plinkr documentation built on March 25, 2024, 3:18 p.m.