convert_bim_table_to_map_table: Convert a 'PLINK' '.bim' table to a 'PLINK' '.map' table

View source: R/convert_bim_table_to_map_table.R

convert_bim_table_to_map_tableR Documentation

Convert a PLINK .bim table to a PLINK .map table

Description

Convert a PLINK .bim table to a PLINK .map table

Usage

convert_bim_table_to_map_table(bim_table, verbose = FALSE)

Arguments

bim_table

a tibble of the genetic mapping, with as many rows as SNPs.

Each row contains:

  • chr: the chromosome number

  • id: the SNP ID

  • posg: the position

  • pos: the position

  • ref: something

  • alt: something

Use get_test_bim_table to get a .bim table as used in testing. Use read_plink_bim_file to read a PLINK .bim file. Use check_bim_table to test if a .bim table is valid.

verbose

the verbosity of a function. Set to TRUE for more output. Use check_verbose to detect if this argument is valid.

Value

a PLINK .map table

Author(s)

Richèl J.C. Bilderbeek


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