check_pvar_table: Check if a '.pvar' table is valid.

View source: R/check_pvar_table.R

check_pvar_tableR Documentation

Check if a .pvar table is valid.

Description

Check if a .pvar table is valid. Will stop if not

Usage

check_pvar_table(pvar_table)

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.

Value

Nothing. Will stop if the pvar_table is invalid

Author(s)

Richèl J.C. Bilderbeek

Examples

check_pvar_table(get_test_pvar_table())

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