Skip to content

Commit 41866c2

Browse files
committed
Fix calculation error for number of rows
1 parent 7512c95 commit 41866c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/app_ui.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ app_ui <- function() {
318318
numericInput(
319319
"grid_nrow",
320320
label = "N rows",
321-
value = round(length(unique(spe$sample_id)) / 3 + 0.5),
321+
value = round(length(unique(spe$sample_id)) / (3 * 4) + 0.5),
322322
min = 1
323323
),
324324
numericInput(
@@ -418,7 +418,7 @@ app_ui <- function() {
418418
numericInput(
419419
"gene_grid_nrow",
420420
label = "N rows",
421-
value = round(length(unique(spe$sample_id)) / 3 + 0.5),
421+
value = round(length(unique(spe$sample_id)) / (3 * 4) + 0.5),
422422
min = 1
423423
),
424424
numericInput(

0 commit comments

Comments
 (0)