Skip to content

Commit

Permalink
testing featuremap server
Browse files Browse the repository at this point in the history
  • Loading branch information
ivokwee committed Apr 24, 2024
1 parent 08cdb86 commit b7ca967
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions components/board.featuremap/R/featuremap_server.R
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,17 @@ FeatureMapBoard <- function(id, pgx) {
list(pgx$samples, pgx$contrasts, input$showvar)
},
{
dbg("[TEST] 0: input$showvar = ", input$showvar)
dbg("[TEST] 0: dim.pgx$contrasts = ", dim(pgx$contrasts))
dbg("[TEST] 0: dim.pgx$samples = ", dim(pgx$samples))

shiny::req(pgx$samples)
shiny::req(pgx$contrasts)
shiny::req(input$showvar)

dbg("[TEST] input$showvar = ", input$showvar)
dbg("[TEST] dim.pgx$contrasts = ", dim(pgx$contrasts))
dbg("[TEST] dim.pgx$samples = ", dim(pgx$samples))
dbg("[TEST] 1: input$showvar = ", input$showvar)
dbg("[TEST] 1: dim.pgx$contrasts = ", dim(pgx$contrasts))
dbg("[TEST] 1: dim.pgx$samples = ", dim(pgx$samples))

if (input$showvar == "phenotype") {
cvar <- playbase::pgx.getCategoricalPhenotypes(pgx$samples, max.ncat = 99)
Expand Down

0 comments on commit b7ca967

Please sign in to comment.