Description Usage Arguments See Also Examples
Defunct. See help("ukb_defunct").
Writes a combined exclusions file including UKB recommended exclusions, heterozygosity exclusions (+/- 3*sd from mean), genetic ethnicity exclusions (based on the UKB genetic ethnic grouping variable, field 1002), and relatedness exclusions (a randomly-selected member of each related pair). For exclusion of individuals from a genetic analysis, the PLINK flag --remove
accepts a space/tab-delimited text file with family IDs in the first column and within-family IDs in the second column (i.e., FID IID), without a header.
1 | ukb_gen_write_plink_excl(path)
|
path |
A path to a file. |
ukb_gen_meta
, ukb_gen_pcs
which retrieve variables to be included in a covariate file. ukb_gen_excl_to_na
to update a phenotype with NAs for samples to-be-excluded based on genetic metadata, and ukb_gen_write_plink
and ukb_gen_write_bgenie
1 2 3 4 5 | ## Not run:
# Supply name of a file to write PLINK format combined exclusions
ukb_gen_write_plink_excl("combined_exclusions.txt")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.