mirror of
https://github.com/johrpan/ubigen.git
synced 2025-10-26 19:57:24 +01:00
Add custom genes details table
This commit is contained in:
parent
989655307b
commit
27f66d7f35
2 changed files with 7 additions and 1 deletions
|
|
@ -76,6 +76,10 @@ server <- function(input, output, session) {
|
|||
box_plot(ranked_data(), custom_genes())
|
||||
)
|
||||
|
||||
output$custom_genes_details <- DT::renderDT({
|
||||
genes_table(ranked_data()[gene %chin% custom_genes()])
|
||||
})
|
||||
|
||||
output$scores_plot <- plotly::renderPlotly(scores_plot(
|
||||
ranked_data(),
|
||||
highlighted_genes = custom_genes()
|
||||
|
|
|
|||
4
R/ui.R
4
R/ui.R
|
|
@ -75,7 +75,9 @@ ui <- function() {
|
|||
"Your genes",
|
||||
value = "custom_genes",
|
||||
htmlOutput("custom_genes_synopsis"),
|
||||
plotly::plotlyOutput("custom_genes_boxplot")
|
||||
plotly::plotlyOutput("custom_genes_boxplot"),
|
||||
div(class = "p-1"),
|
||||
DT::dataTableOutput("custom_genes_details")
|
||||
),
|
||||
tabPanel(
|
||||
"Top genes",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue