create_phenotype_data_table: Create a 'phenotype_data_table'

View source: R/create_phenotype_data_table.R

create_phenotype_data_tableR Documentation

Create a phenotype_data_table

Description

Create a phenotype_data_table.

Usage

create_phenotype_data_table(phe_table)

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.

Author(s)

Richèl J.C. Bilderbeek

See Also

use create_test_phenotype_data_table to create a phenotype_data_table to be used in testing

Examples

create_test_phenotype_data_filename()

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