Skip to content

Commit 6f1e21d

Browse files
fixing the chunk when showing the import from the TxDb object
1 parent 42dbb39 commit 6f1e21d

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)