ukb_gen_sqc_names {ukbtools} | R Documentation |
Sample QC column names
Description
The UKB sample QC file has no header on it.
Usage
ukb_gen_sqc_names(data, col_names_only = FALSE)
Arguments
data |
The UKB ukb_sqc_v2.txt data as dataframe. (Not necessary if column names only are required) |
col_names_only |
If |
Details
From UKB Resource 531: There are currently 2 versions of this file (UKB ukb_sqc_v2.txt) in circulation. The newer version is described below and contains column headers on the first row. The older (deprecated) version lacks the column headers and has two additional Affymetrix internal values prefixing the columns listed below.
Value
A sample QC dataframe with column names, or a character vector of column names if col_names_only = TRUE
.