mirror of
https://github.com/johrpan/geposanui.git
synced 2025-10-26 11:17:24 +01:00
Use plots from geposan
This commit is contained in:
parent
f485eadaf5
commit
b5957262a3
3 changed files with 21 additions and 57 deletions
17
R/server.R
17
R/server.R
|
|
@ -154,10 +154,19 @@ server <- function(input, output, session) {
|
|||
})
|
||||
|
||||
output$rank_plot <- plotly::renderPlotly({
|
||||
rank_plot(
|
||||
results(),
|
||||
preset()$reference_gene_ids,
|
||||
results_filtered()[, max(rank)]
|
||||
geposan::plot_scores(
|
||||
ranking(),
|
||||
gene_sets = list(preset()$reference_gene_ids),
|
||||
labels = "TPE-OLD genes",
|
||||
max_rank = results_filtered()[, max(rank)]
|
||||
)
|
||||
})
|
||||
|
||||
output$boxplot <- plotly::renderPlotly({
|
||||
geposan::plot_boxplot(
|
||||
ranking(),
|
||||
gene_sets = list(preset()$reference_gene_ids),
|
||||
labels = "TPE-OLD genes"
|
||||
)
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue