if (interactive())
{
mart <- useMart(biomart="ensembl", dataset="drerio_gene_ensembl")
LocationParameters =c("ENSDARG00000054562",400, 750, 750,40454140,40454935)
getGeneSeq(LocationParameters, mart)
LocationParameters =c("ENSDARG00000054562",752, 750, 750,40454140,40454935)
getGeneSeq(LocationParameters, mart)
LocationParameters =c("ENSDARG00000054562",750, 750, 750,40454140,40454935)
getGeneSeq(LocationParameters, mart)
LocationParameters =c("ENSDARG00000054562",-2, 750, 750,40454140,40454935)
getGeneSeq(LocationParameters, mart)
LocationParameters =c("ENSDARG00000054562",0, 750, 750,40454140,40454935)
getGeneSeq(LocationParameters, mart)
LocationParameters =c("ENSDARG00000054562",2, 750, 750,40454140,40454935)
getGeneSeq(LocationParameters, mart)
LocationParameters =c("ENSDARG00000054562",1000, 750, 750,40454140,40454935)
getGeneSeq(LocationParameters, mart)
}
Run the code above in your browser using DataLab