Skip to content

Commit

Permalink
fix: getCountStatistics reacts on pgx
Browse files Browse the repository at this point in the history
  • Loading branch information
ivokwee committed Nov 2, 2023
1 parent ede3639 commit 7021a0a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions components/board.dataview/R/dataview_server.R
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,14 @@ DataViewBoard <- function(id, pgx) {

getCountStatistics <- reactiveVal()

observeEvent(c(input$data_groupby, input$data_samplefilter, input$data_type),
{
observeEvent(
{
pgx$X
input$data_groupby
input$data_samplefilter
input$data_type
},
{
shiny::req(pgx$X, pgx$Y, pgx$samples)
shiny::validate(shiny::need("counts" %in% names(pgx), "no 'counts' in object."))
subtt <- NULL
Expand Down

0 comments on commit 7021a0a

Please sign in to comment.