save_cov_table: Save a '.cov' table to file

View source: R/save_cov_table.R

save_cov_tableR Documentation

Save a .cov table to file

Description

Save a .cov table to file

Usage

save_cov_table(cov_table, cov_filename)

Arguments

cov_table

a table of covariates.

A cov_table is a tibble with these columns:

  • FID The family ID

  • IID Within-family ID (cannot be zero)

  • One or more columns of covariate 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_cov_file to read a covariates file. Use check_cov_table to test if a covariates table is valid.

cov_filename

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

Author(s)

Richèl J.C. Bilderbeek


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