Description Usage Arguments Details Value Examples
Defunct. See help("ukb_defunct").
Heterozygosity outliers are typically removed from genetic association analyses. This function returns either a vector of heterozygosity outliers to remove (+/- 3sd from mean heterozygosity), or a data frame with heterozygosity scores for all samples.
1 | ukb_gen_het(data, all.het = FALSE)
|
data |
A UKB dataset created with |
all.het |
Set |
UKB have published full details of genotyping and quality control for the interim genotype data.
A vector of IDs if all.het = FALSE
(default), or a dataframe with ID, heterozygosity and PCA-corrected heterozygosity if all.het = TRUE
.
1 2 3 4 5 6 7 8 | ## Not run:
#' # Heterozygosity outliers (+/-3SD)
outlier_het_ids <- ukb_gen_het(my_ukb_data)
# Retrieve all raw and pca-corrected heterozygosity scores
ukb_het <- ukb_gen_het(my_ukb_data, all.het = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.