Learn R Programming

rsnps (version 0.0.5)

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.

Value

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

Examples

Run this code
allgensnp(snp='rs7412')
allgensnp('rs7412', df=TRUE)

Run the code above in your browser using DataLab