Learn R Programming

rsnps (version 0.6.0)

allgensnp: Get openSNP genotype data for all users at a particular snp.

Description

Get openSNP genotype data for all users at a particular snp.

Usage

allgensnp(snp = NA, usersubset = FALSE, ...)

Value

data.frame of genotypes for all users at a certain SNP

Arguments

snp

(character) A SNP name

usersubset

Get a subset of users, integer numbers, e.g. 1-8 (default: none)

...

Curl options passed on to crul::HttpClient

See Also

Other opensnp-fxns: allphenotypes(), annotations(), download_users(), fetch_genotypes(), genotypes(), phenotypes_byid(), phenotypes(), users()

Examples

Run this code
if (FALSE) {
x <- allgensnp(snp = "rs7412")
head(x)
}

Run the code above in your browser using DataLab