## lookup allele frequencies for rs1129038, a SNP associated to blue and brown eye colors
## as reported by Eiberg et al. Blue eye color in humans may be caused by a perfectly associated
## founder mutation in a regulatory element located within the HERC2 gene inhibiting OCA2 expression.
## Human Genetics, 123(2):177-87, 2008 [http://www.ncbi.nlm.nih.gov/pubmed/18172690]
if (require(MafDb.ESP6500SI.V2.SSA137)) {
MafDb.ESP6500SI.V2.SSA137
## specialized interface
knownVariantsMAFcols(MafDb.ESP6500SI.V2.SSA137)
snpid2maf(MafDb.ESP6500SI.V2.SSA137, "rs1129038")
## standard AnnotationDbi interface
keytypes(MafDb.ESP6500SI.V2.SSA137)
columns(MafDb.ESP6500SI.V2.SSA137)
select(MafDb.ESP6500SI.V2.SSA137,
keys="rs1129038", columns=c("varID", "AF"))
}
Run the code above in your browser using DataLab