Skip to content

Commit

Permalink
Update output_report.Rmd
Browse files Browse the repository at this point in the history
replace pathway gsva with pathway mean
  • Loading branch information
ycao6928 authored Oct 4, 2023
1 parent ef4a3c0 commit 6f0ed6e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions inst/extdata/output_report.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -845,9 +845,9 @@ knitr::include_graphics( system.file("extdata/figure", "pathway_example_figure

```{r}
if ("pathway_gsva" %in% names(scfeatures_result)){
if ("pathway_mean" %in% names(scfeatures_result)){
data <- scfeatures_result$pathway_gsva
data <- scfeatures_result$pathway_mean
data <- t(data)
gene_output <- plot_heatmap_bulk(data )
Expand All @@ -860,7 +860,7 @@ if ("pathway_gsva" %in% names(scfeatures_result)){
## Boxplot

```{r}
if ("pathway_gsva" %in% names(scfeatures_result)){
if ("pathway_mean" %in% names(scfeatures_result)){
p <- plot_boxplot(t(data) )
Expand All @@ -874,7 +874,7 @@ if ("pathway_gsva" %in% names(scfeatures_result)){

```{r}
if ("pathway_gsva" %in% names(scfeatures_result)){
if ("pathway_mean" %in% names(scfeatures_result)){
p <- plot_pca(t( data) )
ggplotly(p)
Expand Down

0 comments on commit 6f0ed6e

Please sign in to comment.