From 6f1e21d78727b23a847f81c08f71db0f69bc7130 Mon Sep 17 00:00:00 2001 From: Federico Marini Date: Thu, 21 Dec 2023 13:14:23 +0100 Subject: [PATCH] fixing the chunk when showing the import from the TxDb object --- vignettes/bambu.Rmd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vignettes/bambu.Rmd b/vignettes/bambu.Rmd index c2218914..460da8b2 100644 --- a/vignettes/bambu.Rmd +++ b/vignettes/bambu.Rmd @@ -128,8 +128,9 @@ annotation <- prepareAnnotations(gtf.file) ``` The annotation object can also be created from a TxDb object: ```{r} -txdb <- system.file("extdata", "Homo_sapiens.GRCh38.91_chr9_1_1000000.gtf", +txdb_file <- system.file("extdata", "Homo_sapiens.GRCh38.91.annotations-txdb_chr9_1_1000000.sqlite", package = "bambu") +txdb <- AnnotationDbi::loadDb(txdb_file) annotation <- prepareAnnotations(txdb) ```