Entering edit mode
9.5 years ago
kindlychung
▴
60
Is there an R function in any existing package that allows me to do something like:
annotate("rs34121", build = hg19)
and returns either of these:
- gene name, if the SNP is inside a gene
- gene1/gene2, if the SNP is between gene1 and gene2 ?