Description Usage Arguments See Also
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.
1 2 | ukb_gen_read_sample(file, col.names = c("id_1", "id_2", "missing"),
row.skip = 2)
|
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. |
ukb_gen_read_fam
to read a fam file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.