mirror of
https://github.com/johrpan/ubigen.git
synced 2025-10-26 19:57:24 +01:00
Add gene selector for custom genes
This commit is contained in:
parent
780e608ee1
commit
5f5670171d
8 changed files with 168 additions and 36 deletions
13
R/server.R
13
R/server.R
|
|
@ -17,8 +17,17 @@ server <- function(input, output) {
|
|||
data
|
||||
})
|
||||
|
||||
output$overview_plot <- plotly::renderPlotly(overview_plot(ranked_data()))
|
||||
output$scores_plot <- plotly::renderPlotly(scores_plot(ranked_data()))
|
||||
custom_genes <- gene_selector_server("custom_genes")
|
||||
|
||||
output$overview_plot <- plotly::renderPlotly(overview_plot(
|
||||
ranked_data(),
|
||||
highlighted_genes = custom_genes()
|
||||
))
|
||||
|
||||
output$scores_plot <- plotly::renderPlotly(scores_plot(
|
||||
ranked_data(),
|
||||
highlighted_genes = custom_genes()
|
||||
))
|
||||
|
||||
output$selected_genes <- DT::renderDataTable({
|
||||
selected_points <- plotly::event_data("plotly_selected")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue