Skip to content

Commit f5dfcc9

Browse files
authored
Merge pull request #406 from federicomarini/devel
fixing the chunk when showing the import from the TxDb object
2 parents b61c9a3 + 6f1e21d commit f5dfcc9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vignettes/bambu.Rmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,9 @@ annotation <- prepareAnnotations(gtf.file)
128128
```
129129
The annotation object can also be created from a TxDb object:
130130
```{r}
131-
txdb <- system.file("extdata", "Homo_sapiens.GRCh38.91_chr9_1_1000000.gtf",
131+
txdb_file <- system.file("extdata", "Homo_sapiens.GRCh38.91.annotations-txdb_chr9_1_1000000.sqlite",
132132
package = "bambu")
133+
txdb <- AnnotationDbi::loadDb(txdb_file)
133134
annotation <- prepareAnnotations(txdb)
134135
```
135136

0 commit comments

Comments
 (0)