convert_psam_table_to_fam_table: Convert a 'PLINK2' '.psam' table to a 'PLINK' '.fam' table

View source: R/convert_psam_table_to_fam_table.R

convert_psam_table_to_fam_tableR Documentation

Convert a PLINK2 .psam table to a PLINK .fam table

Description

Convert a PLINK2 .psam table to a PLINK .fam table

Usage

convert_psam_table_to_fam_table(psam_table, verbose = FALSE)

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.

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

Author(s)

Richèl J.C. Bilderbeek


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