#load example data
data(ASEset)
#get counts at the three positions specified in GRvariants
if(require(SNPlocs.Hsapiens.dbSNP144.GRCh37)){
updatedGRanges<-getSnpIdFromLocation(rowRanges(ASEset), SNPlocs.Hsapiens.dbSNP144.GRCh37)
rowRanges(ASEset)<-updatedGRanges
}
Run the code above in your browser using DataLab