View source: R/read_plink_phe_file.R
read_plink_phe_file | R Documentation |
PLINK
raw phenotype fileRead a PLINK
raw phenotype file.
read_plink_phe_file(phe_filename)
phe_filename |
name of a phenotype ( |
a tibble with the following columns:
FID
The family ID
IID
Within-family ID (cannot be zero)
Px
One or more columns with phenotypic values,
where x
is the index of the trait:
the first column is called P1
, the second P2
,
etcetera.
The FID
, IID
and Px
column names
match the PLINK names, see
https://www.cog-genomics.org/plink/1.9/input#pheno
The filename extension used in the PLINK
tutorial is .phe
, where the PLINK
'Getting started' uses .raw
Richèl J.C. Bilderbeek
use get_test_phe_table to get a phenotype table, to be used in testing
read_plink_phe_file(
phe_filename = get_plinkr_filename("pheno.raw")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.