Skip to content

Commit e575a8a

Browse files
committed
add final notes for the iSEEpathways section
1 parent 3fb704c commit e575a8a

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

vignettes/workshop_isee_extension.Rmd

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,8 @@ airway <- registerAppOptions(airway, Pathways.map.functions = list(GO = map_GO))
484484

485485
#### Add normalised gene expression
486486

487+
We also compute log-transformed counts, for a better visualisation of differential expression in the live app.
488+
487489
```{r}
488490
library("scuttle")
489491
airway <- logNormCounts(airway)
@@ -506,14 +508,9 @@ iSEE(airway, initial = list(
506508
))
507509
```
508510

509-
Plan:
510-
511-
* Run code from the iSEEpathways vignette https://isee.github.io/iSEEpathways/articles/integration.html
512-
* Launch the app
513-
* Showcase the integration of pathways, DE, and core panels
514-
(e.g., select a pathway in the results table, show those genes in the volcano plot and heat map)
515-
516-
(Remember: 10 min)
511+
One of the most notable limitations of this app is the delay in re-rendering panels when users select another pathway.
512+
Most of that time is actually spent in the `mapIds()` function, querying the `org.Hs.eg.db` object.
513+
This bottleneck can be circumnavigated by storing pathways as a regular `list()` in the `metadata()` slot of the `airway` object, and changing the mapping function to use that list instead of the `org.Hs.eg.db` object, as demonstrated in the section [Trading off memory usage for speed](https://isee.github.io/iSEEpathways/articles/integration.html#speed-mapping) of the `r BiocStyle::Biocpkg("iSEEpathways")` vignette.
517514

518515
## Writing iSEE extensions
519516

0 commit comments

Comments
 (0)