Skip to content

Commit 36ba8ea

Browse files
author
Chen Ying
committed
fix the txdb file link bug in vignettes
1 parent b75e95d commit 36ba8ea

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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)