## 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.ExAC.r0.3.1.snvs.hs37d5)) {
mafdb <- MafDb.ExAC.r0.3.1.snvs.hs37d5
mafdb
## specialized interface
populations(mafdb)
rng <- GRanges("15", IRanges(28356859, 28356859))
mafByOverlaps(mafdb, rng)
mafByOverlaps(mafdb, "15:28356859-28356859")
mafByOverlaps(mafdb, "15:28356859")
mafById(mafdb, "rs1129038")
}
Run the code above in your browser using DataLab