Learn R Programming

rsnps (version 0.2.0)

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

Description

Get genotype data for all users at a particular snp.

Usage

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

Arguments

snp

SNP name.

df

Return data.frame (TRUE) or not (FALSE) - default = FALSE.

...

Curl options passed on to GET.

Value

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

Examples

Run this code
# NOT RUN {
allgensnp(snp = 'rs7412')
allgensnp('rs7412', df = TRUE)
# }

Run the code above in your browser using DataLab