mirror of
https://github.com/johrpan/geposanui.git
synced 2025-10-26 11:17:24 +01:00
Organize output in tabs
This commit is contained in:
parent
527ba01cc9
commit
aaff5878ec
2 changed files with 50 additions and 41 deletions
8
server.R
8
server.R
|
|
@ -100,6 +100,7 @@ server <- function(input, output) {
|
|||
rownames = FALSE,
|
||||
colnames = column_names,
|
||||
style = "bootstrap",
|
||||
fillContainer = TRUE,
|
||||
extensions = "Scroller",
|
||||
options = list(
|
||||
rowCallback = js_link,
|
||||
|
|
@ -137,19 +138,18 @@ server <- function(input, output) {
|
|||
names_text <- paste(names, collapse = "\n")
|
||||
|
||||
splitLayout(
|
||||
cellWidths = "auto",
|
||||
rclipButton(
|
||||
"copy_ids_button",
|
||||
"Copy gene IDs",
|
||||
genes_text,
|
||||
icon = icon("clipboard"),
|
||||
width = "100%"
|
||||
icon = icon("clipboard")
|
||||
),
|
||||
rclipButton(
|
||||
"copy_names_button",
|
||||
"Copy gene names",
|
||||
names_text,
|
||||
icon = icon("clipboard"),
|
||||
width = "100%"
|
||||
icon = icon("clipboard")
|
||||
)
|
||||
)
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue