convert_pvar_table_to_bim_table: Convert a 'PLINK2' '.pvar' table to a 'PLINK' '.bim' table

View source: R/convert_pvar_table_to_bim_table.R

convert_pvar_table_to_bim_tableR Documentation

Convert a PLINK2 .pvar table to a PLINK .bim table

Description

Convert a PLINK2 .pvar table to a PLINK .bim table

Usage

convert_pvar_table_to_bim_table(pvar_table, verbose = FALSE)

Arguments

pvar_table

a tibble with as much rows as SNPs. It has the following columns:

  • CHROM: the chromosome

  • POS: the position on the chromosome

  • ID: the SNP ID

  • REF: the reference variant

  • ALT: the alternate variant

The uppercase column names are those as used by PLINK2.

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 .bim table

Author(s)

Richèl J.C. Bilderbeek


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