Skip to content

Commit

Permalink
Minor edit to tutorial, getFindMarkerTopTable workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
ykoga07 committed Aug 16, 2024
1 parent 4c1d843 commit 2f54860
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions vignettes/articles/seurat_to_celda_pbmc3k.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,11 @@ reducedDim(sce, "factorizeMatrix") <- t(factorizedLogcounts)
sce <- runFindMarker(sce, useReducedDim = "factorizeMatrix", cluster = "seurat_clusters", useAssay = NULL)
```

The differential expression results are contained within `sce@metadata$findMarker`. The `Gene` column denotes the differentially expressed module, whilst the `Log2_FC` column denotes the level of upregulation of the module in the cluster. These results can be accessed through the `getFindMarkerTopTable` function.

```{r, eval = FALSE}
getFindMarkerTopTable(sce)
```
The differential expression results are contained within the metadata slot `findMarker`. The `Gene` column denotes the differentially expressed module, whilst the `Log2_FC` column denotes the level of upregulation of the module in the cluster.


```{r DE module table, message=FALSE, echo = FALSE}
kable(sce@metadata$findMarker, style = "html", row.names = FALSE) %>%
kable(metadata(sce)$findMarker, style = "html", row.names = FALSE) %>%
kable_styling(bootstrap_options = "striped") %>%
scroll_box(width = "100%", height = "500px")
```
Expand Down

0 comments on commit 2f54860

Please sign in to comment.