read_plink_cov_file: Read a 'PLINK' covariates file

View source: R/read_plink_cov_file.R

read_plink_cov_fileR Documentation

Description

Read a PLINK covariates file

Usage

read_plink_cov_file(cov_filename)

Arguments

cov_filename

name of a covariates (.cov) file. Use read_plink_cov_file to read a covariates file.

Value

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

Note

The filename extension used in the PLINK tutorial is .covar

Author(s)

Richèl J.C. Bilderbeek


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