View source: R/read_plink_cov_file.R
read_plink_cov_file | R Documentation |
PLINK
covariates fileRead a PLINK
covariates file
read_plink_cov_file(cov_filename)
cov_filename |
name of a covariates ( |
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 .covar
Richèl J.C. Bilderbeek
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.