Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ivokwee committed Dec 11, 2023
1 parent be31720 commit bcda093
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
2 changes: 1 addition & 1 deletion components/board.upload/R/upload_module_batchcorrect.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ upload_module_batchcorrect_ui <- function(id, height = 720) {
shiny::br(),
## shiny::selectInput(ns("view"), "Select view", choices=c("UMAP","heatmap","PC","hist")),
shiny::radioButtons( ns("view"), "Select view",
choices = c("UMAP", "heatmap", "PC", "hist"), inline=FALSE ),
choices = c("UMAP", "heatmap", "PC", "PC2", "hist"), inline=FALSE ),

shiny::conditionalPanel(
"input.view == 'UMAP'",
Expand Down
27 changes: 12 additions & 15 deletions components/board.upload/R/upload_ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -172,20 +172,6 @@ UploadUI <- function(id) {
)
)

batch_panel <- shiny::tabPanel(
"BatchCorrect",
bslib::layout_columns(
col_widths = 12,
height = "calc(100vh - 180px)",
bslib::layout_columns(
col_widths = 12,
heights_equal = "row",
bs_alert("Omics data often suffers from batch effect due to experiments done on different days, using different machines or done at different institutes. This will often cause so-called batch effects. Batch correction can clean your data from these 'unwanted variation'. But be careful, batch correction can also be dangerous if not used carefully and can remove valuable real signal. Only adviced for advanced users!"),
upload_module_batchcorrect_ui(ns("batchcorrect"))
)
)
)

comparisons_panel <- shiny::tabPanel(
"Comparisons",
bslib::layout_columns(
Expand All @@ -197,12 +183,23 @@ UploadUI <- function(id) {
)
)

batch_panel <- shiny::tabPanel(
"BatchCorrect",
bslib::layout_columns(
col_widths = 12,
height = "calc(100vh - 180px)",
heights_equal = "row",
bs_alert("Omics data often suffers from batch effect due to experiments done on different days, using different machines or done at different institutes. This will often cause so-called batch effects. Batch correction can clean your data from these 'unwanted variation'. But be careful, batch correction can also be dangerous if not used carefully and can remove valuable real signal. Only adviced for advanced users!"),
upload_module_batchcorrect_ui(ns("batchcorrect"), height = "calc(100vh - 200px)")
)
)

compute_panel <- shiny::tabPanel(
"Compute",
bs_alert("OK. We now have everything to compute your data. Please name your dataset and give a short description of the experiment. You can select/deselect some computation options but if you do not understand, it is safer to leave the defaults. If you are ready, hit 'Compute'. Computation can take 10-40 minutes depending on the size of your data and number of comparisons."),
br(),
shiny::fillCol(
height = height, #
height = "100%",
upload_module_computepgx_ui(ns("compute"))
)
)
Expand Down

0 comments on commit bcda093

Please sign in to comment.