Skip to content

Instantly share code, notes, and snippets.

@jergosh
Last active Jan 1, 2016
Embed
What would you like to do?
library(biomaRt)
ensembl <- useMart(biomart = "ENSEMBL_MART_ENSEMBL", dataset="hsapiens_gene_ensembl",
host="www.ensembl.org", path="/biomart/martservice")
attrs <- c("ensembl_gene_id", "upstream_flank")
gene_ann <- getBM(attributes=attrs, filters=list(ensembl_gene_id="ENSG00000165702", upstream_flank=100), mart=ensembl, checkFilters=F)
gene_ann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment