ukb_gen_read_sample {ukbtools} | R Documentation |
Reads an Oxford format sample file
Description
This is a wrapper for read_table
that reads an Oxford format .sample file. If you use the unedited sample file as supplied with your genetic data, you should only need to specify the first argument, file.
Usage
ukb_gen_read_sample(file, col.names = c("id_1", "id_2", "missing"),
row.skip = 2)
Arguments
file |
A path to a sample file. |
col.names |
A character vector of column names. Default: c("id_1", "id_2", "missing") |
row.skip |
Number of lines to skip before reading data. |
See Also
ukb_gen_read_fam
to read a fam file
[Package ukbtools version 0.11.3 Index]