Add gene set enrichment analysis

This commit is contained in:
Elias Projahn 2021-10-07 12:18:47 +02:00
parent d73908acab
commit f002758fc8
2 changed files with 16 additions and 0 deletions

View file

@ -1,5 +1,7 @@
library(data.table)
library(DT)
library(gprofiler2)
library(plotly)
library(shiny)
source("init.R")
@ -112,4 +114,9 @@ server <- function(input, output) {
scatter_plot(results, species, genes, distances)
})
output$gost <- renderPlotly({
result <- gost(results()[, gene], ordered_query = TRUE)
gostplot(result, capped = FALSE, interactive = TRUE)
})
}