get_exon_coords | R Documentation |
Get coordinates of exons from ENSEMBL database
get_exon_coords(ensdb, query, biotypes = c("protein_coding"))
ensdb |
ENSEMBL database object like EnsDb.Hsapiens.v86 |
query |
GRranges ofject of one interval. "chr20" should be coded as "20" |
biotypes |
gene biotypes to return |
GRanges object of exon locations
library(EnsDb.Hsapiens.v86)
library(GenomicRanges)
# gene database
ensdb = EnsDb.Hsapiens.v86
# interval
query = GRanges("20", IRanges(62045027,62164563))
# get GRanges object of exon locations
get_exon_coords( ensdb, query)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.