Skip to content

Commit 2994e9d

Browse files
committed
use a subset of pathways to fit in the memory allowance of galaxy
1 parent 411ec80 commit 2994e9d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

vignettes/workshop_isee_extension.Rmd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Writing iSEE extensions"
3-
author: Kevin Rue-Albrecht^[kevinrue67@gmail.com],Federico Marini^[marinif@uni-mainz.de], Charlotte Soneson^[charlottesoneson@gmail.com]
3+
author: Kevin Rue-Albrecht^[kevinrue67@gmail.com], Federico Marini^[marinif@uni-mainz.de], Charlotte Soneson^[charlottesoneson@gmail.com]
44
output: rmarkdown::html_vignette
55
vignette: >
66
%\VignetteIndexEntry{Writing iSEE extensions}
@@ -156,6 +156,7 @@ Let's demonstrate this by attaching the `r BiocStyle::Biocpkg("iSEE")` package t
156156

157157
```{r, message=FALSE, warning=FALSE, eval=FALSE}
158158
library(iSEE)
159+
library(shiny)
159160
app <- iSEE(sce)
160161
runApp(app, launch.browser = TRUE)
161162
```
@@ -437,7 +438,7 @@ Due to the use of `uniquifyFeatureNames()` above, we must first map pathway iden
437438

438439
```{r, message=FALSE, warning=FALSE}
439440
library("org.Hs.eg.db")
440-
pathways <- select(org.Hs.eg.db, keys(org.Hs.eg.db, "ENSEMBL"), c("GOALL"), keytype = "ENSEMBL")
441+
pathways <- select(org.Hs.eg.db, head(keys(org.Hs.eg.db, "GOALL"), 100), c("ENSEMBL"), keytype = "GOALL")
441442
pathways <- subset(pathways, ONTOLOGYALL == "BP")
442443
pathways <- unique(pathways[, c("ENSEMBL", "GOALL")])
443444
pathways <- merge(pathways, rowData(airway)[, c("ENSEMBL", "uniquifyFeatureNames")])

0 commit comments

Comments
 (0)