wb_load_TxDb | R Documentation |
Generate and load a TxDb object for a given Wormbase version, that can be used with Bioconductor packages.
wb_load_TxDb(WS, dir_cache = NULL)
WS |
Wormbase release version. |
dir_cache |
Directory where the downloaded files are cached. |
A TxDb object.
## Not run:
wb_txdb_274 <- wb_load_TxDb(274)
transcript_to_gene_table <- AnnotationDbi::select(wb_txdb_274,
keys = keys(wb_txdb_274, keytype = "TXNAME"),
columns = c("TXNAME", "GENEID"),
keytype = "TXNAME")
all_exons_GRanges <- GenomicFeatures::exonsBy(wb_txdb_274, by = "gene")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.