mirror of
https://github.com/johrpan/ubigen.git
synced 2025-10-26 19:57:24 +01:00
Tweak table rendering
This commit is contained in:
parent
1e666d6fa7
commit
92b5e08dc1
1 changed files with 17 additions and 2 deletions
19
R/server.R
19
R/server.R
|
|
@ -106,9 +106,24 @@ genes_table <- function(data) {
|
||||||
|
|
||||||
DT::datatable(
|
DT::datatable(
|
||||||
data,
|
data,
|
||||||
options = list(pageLength = 100),
|
options = list(
|
||||||
|
buttons = list(
|
||||||
|
list(
|
||||||
|
extend = "copy",
|
||||||
|
text = "Copy to clipboard"
|
||||||
|
),
|
||||||
|
list(
|
||||||
|
extend = "csv",
|
||||||
|
text = "Download CSV"
|
||||||
|
)
|
||||||
|
),
|
||||||
|
dom = "fBrtip",
|
||||||
|
pageLength = 100
|
||||||
|
),
|
||||||
rownames = FALSE,
|
rownames = FALSE,
|
||||||
escape = FALSE
|
escape = FALSE,
|
||||||
|
selection = "none",
|
||||||
|
extensions = "Buttons"
|
||||||
) |>
|
) |>
|
||||||
DT::formatPercentage(
|
DT::formatPercentage(
|
||||||
c(
|
c(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue