mirror of
https://github.com/johrpan/geposanui.git
synced 2025-10-26 11:17:24 +01:00
Add gene set enrichment analysis
This commit is contained in:
parent
d73908acab
commit
f002758fc8
2 changed files with 16 additions and 0 deletions
7
server.R
7
server.R
|
|
@ -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)
|
||||
})
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue