Skip to contents

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

Usage

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

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

Value

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

Examples

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