infer_ancestry: Infer ancestry of GWAS dataset by matching against 1000...

View source: R/afl2.r

infer_ancestryR Documentation

Infer ancestry of GWAS dataset by matching against 1000 genomes allele frequencies

Description

Uses ~20k SNPs selected for common frequency across 5 major super populations

Usage

infer_ancestry(d, snpinfo = NULL)

Arguments

d

Data frame containing at least rsid and eaf columns. e.g. output from associations

snpinfo

Output from afl2_list, afl2_rsid or afl2_chrpos. If NULL then afl2_list() is used by default

Value

data frame ordered by most likely ancestry


MRCIEU/ieugwasr documentation built on June 22, 2022, 3:49 a.m.