check_psam_table: Check if a '.psam' table is valid.

View source: R/check_psam_table.R

check_psam_tableR Documentation

Check if a .psam table is valid.

Description

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

Usage

check_psam_table(psam_table)

Arguments

psam_table

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

  • FID: the family ID

  • IID: the within-family ID

  • SEX: the sex

  • PHENO1: a phenotypic value

The uppercase column names are those as used by PLINK2.

Value

Nothing. Will stop if the psam_table is invalid

Author(s)

Richèl J.C. Bilderbeek

Examples

check_psam_table(get_test_psam_table())

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