save_phe_table: Save a '.phe' table to file

View source: R/save_phe_table.R

save_phe_tableR Documentation

Save a .phe table to file

Description

Save a .phe table to file

Usage

save_phe_table(phe_table, phe_filename)

Arguments

phe_table

a table of phenotypes.

A phe_table is a tibble with these columns:

  • FID The family ID

  • IID Within-family ID (cannot be zero)

  • One or more columns of phenotype values, columns can have any name

These names match the PLINK column names (https://www.cog-genomics.org/plink/1.9/input#pheno). Use read_plink_phe_file to read a phenotype file. Use check_phe_table to test if a phenotype table is valid.

phe_filename

name of a phenotype (.phe) file, as checked by check_phe_filename. Use read_plink_phe_file to read a raw phenotype file.

Author(s)

Richèl J.C. Bilderbeek


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