You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vignettes/workshop_isee_extension.Rmd
+31-1Lines changed: 31 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -343,12 +343,42 @@ In the next 10 minutes, we will:
343
343
344
344
The `r BiocStyle::Biocpkg("iSEEpathways")` vignette [Integration with other panels](https://isee.github.io/iSEEpathways/articles/integration.html) can also be accessed locally using the R code `vignette("integration", package = "iSEEpathways")`.
345
345
346
-
In this part, we load the
346
+
In this part, we load the `r BiocStyle::Biocexptpkg("airway")` package, providing a `RangedSummarizedExperiment` object for RNA-Seq in airway smooth muscle cells.
347
347
348
348
```{r}
349
349
library(airway)
350
+
data(airway)
351
+
airway
350
352
```
351
353
354
+
We quickly reorder the levels of the dexamethasone treatment, ensuring that the untreated level is first, and used as reference level during the upcoming differential expression analysis.
355
+
356
+
```{r}
357
+
airway$dex <- relevel(airway$dex, "untrt")
358
+
```
359
+
360
+
We also take a minute to convert rownames to more recognisable gene symbols using the annotation package `r BiocStyle::Biocannopkg("org.Hs.eg.db")`.
361
+
362
+
To avoid losing any information, we store a copy of the original Ensembl gene identifiers and the corresponding gene symbols in the row metadata.
363
+
364
+
To make sure that rownames are unique, we use the `r BiocStyle::Biocpkg("scater")` function `uniquifyFeatureNames()`.
365
+
The function uses the gene symbol if unique; otherwise it combines it with the Ensembl gene identifier to make it unique.
0 commit comments