genotypes | R Documentation |
Get openSNP genotype data for one or multiple users.
genotypes(snp = NA, userid = NA, df = FALSE, ...)
snp |
SNP name. |
userid |
ID of openSNP user. |
df |
Return data.frame ( |
... |
Curl options passed on to crul::HttpClient] |
List (or data.frame) of genotypes for specified user(s) at a certain SNP.
Other opensnp-fxns:
allgensnp()
,
allphenotypes()
,
annotations()
,
download_users()
,
fetch_genotypes()
,
phenotypes_byid()
,
phenotypes()
,
users()
## Not run:
genotypes(snp = "rs9939609", userid = 1)
genotypes("rs9939609", userid = "1,6,8", df = TRUE)
genotypes("rs9939609", userid = "1-2", df = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.