View source: R/create_phe_table_from_plink_bin_data.R
create_phe_table_from_plink_bin_data | R Documentation |
.fam
) table
within the PLINK binary data.Create a single-phenotype table from the gentic mapping (.fam
) table
within the PLINK binary data.
create_phe_table_from_plink_bin_data(plink_bin_data)
plink_bin_data |
the in-memory binary data for |
The individuals' family and within-family ID's are copied.
The case_control_code
is copied as well, but
renamed to trait
and divided by then.
In this way, PLINK treats the phenotype table as having quantitative
traits.
a single-phenotype tibble, with columns:
FID
the family ID
IID
the within-family ID
P1
the phenotype
The column names match the PLINK names, see https://www.cog-genomics.org/plink/1.9/input#pheno
Richèl J.C. Bilderbeek
create_phe_table_from_plink_bin_data(create_test_plink_bin_data())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.