infer_ancestry | R Documentation |
Uses ~20k SNPs selected for common frequency across 5 major super populations
infer_ancestry(d, snpinfo = NULL, opengwas_jwt = get_opengwas_jwt())
d |
Data frame containing at least |
snpinfo |
Output from |
opengwas_jwt |
Used to authenticate protected endpoints. Login to https://api.opengwas.io to obtain a jwt. Provide the jwt string here, or store in .Renviron under the keyname OPENGWAS_JWT. |
data frame ordered by most likely ancestry, each row represents a super population and cor column represents the correlation between the GWAS dataset and the 1000 genomes super population allele frequencies
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.