Skip to content

Commit 52a4e7f

Browse files
authored
Merge pull request #30 from liuzan-info/p2a
optimize layout
2 parents c432809 + 5da673c commit 52a4e7f

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

ui.R

+33-33
Original file line numberDiff line numberDiff line change
@@ -2282,6 +2282,38 @@ ui <- renderUI(
22822282
column(12, textAreaInput("limmalabelspec", h5("specified points:"), placeholder = "NUP35_S279\nPCNP_T139\nSEPTIN9_S30\n"))
22832283
),
22842284
column(12, div(actionButton("limmabt", "Analysis", icon("magnifying-glass-chart"), class='analysisbutton'), style = "display:flex; justify-content:center; align-item:center;"))
2285+
),
2286+
panel(
2287+
"",
2288+
heading = "Heatmap Parameters Setting",
2289+
status = "warning",
2290+
column(12, selectInput("limmaphscale", h5("scale:"), choices = c("none", "row", "column"), selected = "row")),
2291+
column(6, prettyToggle(
2292+
inputId = "limmaphcluster",
2293+
label_on = "cluster by row",
2294+
icon_on = icon("check"),
2295+
status_on = "info",
2296+
status_off = "warning",
2297+
label_off = "no cluster",
2298+
icon_off = icon("xmark"),
2299+
value = TRUE
2300+
)),
2301+
column(6, prettyToggle(
2302+
inputId = "limmaphrowname",
2303+
label_on = "display row name",
2304+
icon_on = icon("check"),
2305+
status_on = "info",
2306+
status_off = "warning",
2307+
label_off = "miss row name",
2308+
icon_off = icon("xmark"),
2309+
value = F
2310+
)),
2311+
conditionalPanel(
2312+
condition = "input.limmaphcluster == 1",
2313+
column(6, selectInput("limmaphdistance", h5("clustering distance rows:"), choices = c("euclidean", "correlation"), selected = "euclidean")),
2314+
column(6, selectInput("limmaphclusmethod", h5("clustering method:"), choices = c("ward.D2", "ward.D", "single", "complete", "average", "mcquitty", "median", "centroid"), selected = "ward.D2")),
2315+
),
2316+
column(12, div(actionButton("limmaphbt", "Plot Heatmap", icon("palette"), class="plotbutton")), style = "display:flex; justify-content:center; align-item:center;")
22852317
)
22862318
),
22872319
column(
@@ -2324,41 +2356,9 @@ ui <- renderUI(
23242356
)
23252357
),
23262358
column(2, NULL),
2327-
column(12, NULL),
23282359
column(
23292360
4,
2330-
panel(
2331-
"",
2332-
heading = "Heatmap Parameters Setting",
2333-
status = "warning",
2334-
column(12, selectInput("limmaphscale", h5("scale:"), choices = c("none", "row", "column"), selected = "row")),
2335-
column(6, prettyToggle(
2336-
inputId = "limmaphcluster",
2337-
label_on = "cluster by row",
2338-
icon_on = icon("check"),
2339-
status_on = "info",
2340-
status_off = "warning",
2341-
label_off = "no cluster",
2342-
icon_off = icon("xmark"),
2343-
value = TRUE
2344-
)),
2345-
column(6, prettyToggle(
2346-
inputId = "limmaphrowname",
2347-
label_on = "display row name",
2348-
icon_on = icon("check"),
2349-
status_on = "info",
2350-
status_off = "warning",
2351-
label_off = "miss row name",
2352-
icon_off = icon("xmark"),
2353-
value = F
2354-
)),
2355-
conditionalPanel(
2356-
condition = "input.limmaphcluster == 1",
2357-
column(6, selectInput("limmaphdistance", h5("clustering distance rows:"), choices = c("euclidean", "correlation"), selected = "euclidean")),
2358-
column(6, selectInput("limmaphclusmethod", h5("clustering method:"), choices = c("ward.D2", "ward.D", "single", "complete", "average", "mcquitty", "median", "centroid"), selected = "ward.D2")),
2359-
),
2360-
column(12, div(actionButton("limmaphbt", "Plot Heatmap", icon("palette"), class="plotbutton")), style = "display:flex; justify-content:center; align-item:center;")
2361-
)
2361+
NULL
23622362
),
23632363
column(
23642364
8,

0 commit comments

Comments
 (0)