powered by
Get openSNP genotype data for one or multiple users.
genotypes(snp = NA, userid = NA, df = FALSE, ...)
List (or data.frame) of genotypes for specified user(s) at a certain SNP.
SNP name.
ID of openSNP user.
Return data.frame (TRUE) or not (FALSE). Default: FALSE
TRUE
FALSE
Curl options passed on to crul::HttpClient]
Other opensnp-fxns: allgensnp(), allphenotypes(), annotations(), download_users(), fetch_genotypes(), phenotypes_byid(), phenotypes(), users()
allgensnp()
allphenotypes()
annotations()
download_users()
fetch_genotypes()
phenotypes_byid()
phenotypes()
users()
if (FALSE) { genotypes(snp = "rs9939609", userid = 1) genotypes("rs9939609", userid = "1,6,8", df = TRUE) genotypes("rs9939609", userid = "1-2", df = FALSE) }
Run the code above in your browser using DataLab