check_pgen_table: Check if a '.pgen' table is valid.

View source: R/check_pgen_table.R

check_pgen_tableR Documentation

Check if a .pgen table is valid.

Description

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

Usage

check_pgen_table(pgen_table)

Arguments

pgen_table

an array that maps the individuals to their SNPs, with as much rows as individuals, and as much SNPs as columns. Optionally, the row names are the individuals' IDs, where the column names are the SNP ID's

Value

a checked pgen_table, now of class pgen_table

Author(s)

Richèl J.C. Bilderbeek

Examples

check_pgen_table(get_test_pgen_table())

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