@@ -157,19 +157,19 @@ create_new_tab_manual <- function(title, targetPanel, result, contrast, alpha, n
157
157
radioGroupButtons(
158
158
inputId = ns(" file_ext_Volcano" ),
159
159
label = " File Type:" ,
160
- choices = c(" .png" , " .tiff" , " .pdf" ),
160
+ choices = c(" .png" , " .tiff" , " .svg " , " . pdf" ),
161
161
selected = " .png"
162
162
),
163
163
radioGroupButtons(
164
164
inputId = ns(" file_ext_Volcano_both" ),
165
165
label = " File Type:" ,
166
- choices = c(" .png" , " .tiff" , " .pdf" ),
166
+ choices = c(" .png" , " .tiff" , " .svg " , " . pdf" ),
167
167
selected = " .png"
168
168
),
169
169
radioGroupButtons(
170
170
inputId = ns(" file_ext_Volcano_raw" ),
171
171
label = " File Type:" ,
172
- choices = c(" .png" , " .tiff" , " .pdf" ),
172
+ choices = c(" .png" , " .tiff" , " .svg " , " . pdf" ),
173
173
selected = " .png"
174
174
)
175
175
)
@@ -484,7 +484,7 @@ create_new_tab_manual <- function(title, targetPanel, result, contrast, alpha, n
484
484
)
485
485
486
486
output [[ns(paste(contrast [1 ], contrast [2 ], " SavePlot_Volcano" , sep = " _" ))]] <- downloadHandler(
487
- filename = function () {paste0(" VOLCANO_" , Sys.time(), input [[ns(" file_ext_Volcano" )]])},
487
+ filename = function () {paste0(" VOLCANO_" , format( Sys.time(), " (%d.%m.%Y)_(%H;%M;%S) " ), input [[ns(" file_ext_Volcano" )]])},
488
488
content = function (file ){
489
489
ggsave(
490
490
filename = file ,
@@ -501,7 +501,7 @@ create_new_tab_manual <- function(title, targetPanel, result, contrast, alpha, n
501
501
})
502
502
})
503
503
output [[ns(paste(contrast [1 ], contrast [2 ], " SavePlot_Volcano_raw" , sep = " _" ))]] <- downloadHandler(
504
- filename = function () { paste(" raw_VOLCANO" ,Sys.time(),input [[ns(" file_ext_Volcano_raw" )]],sep = " " ) },
504
+ filename = function () { paste(" raw_VOLCANO" ,format( Sys.time(), " (%d.%m.%Y)_(%H;%M;%S) " ),input [[ns(" file_ext_Volcano_raw" )]],sep = " " ) },
505
505
content = function (file ){
506
506
ggsave(
507
507
filename = file ,
@@ -518,12 +518,12 @@ create_new_tab_manual <- function(title, targetPanel, result, contrast, alpha, n
518
518
})
519
519
})
520
520
output [[ns(paste(contrast [1 ], contrast [2 ], " SavePlot_Volcano_both" , sep = " _" ))]] <- downloadHandler(
521
- filename = function () { paste0(" VOLCANO_" ,Sys.time(),input [[ns(" file_ext_Volcano " )]]) },
521
+ filename = function () { paste0(" VOLCANO_" ,format( Sys.time(), " (%d.%m.%Y)_(%H;%M;%S) " ), input [[ns(" file_ext_Volcano_both " )]]) },
522
522
content = function (file ){
523
523
ggsave(
524
524
filename = file ,
525
525
plot = gridExtra :: arrangeGrob(sig_ana_reactive $ VolcanoPlot_raw , sig_ana_reactive $ VolcanoPlot ),
526
- device = gsub(" \\ ." ," " ,input [[ns(" file_ext_Volcano " )]])
526
+ device = gsub(" \\ ." ," " ,input [[ns(" file_ext_Volcano_both " )]])
527
527
)
528
528
on.exit({
529
529
fun_LogIt(message = " ## Differential analysis - Volcano {.tabset .tabset-fade}" )
@@ -702,19 +702,19 @@ create_new_tab_DESeq <- function(title, targetPanel, result, contrast, alpha, ns
702
702
radioGroupButtons(
703
703
inputId = ns(" file_ext_Volcano" ),
704
704
label = " File Type:" ,
705
- choices = c(" .png" , " .tiff" , " .pdf" ),
705
+ choices = c(" .png" , " .tiff" , " .svg " , " . pdf" ),
706
706
selected = " .png"
707
707
),
708
708
radioGroupButtons(
709
709
inputId = ns(" file_ext_Volcano_both" ),
710
710
label = " File Type:" ,
711
- choices = c(" .png" , " .tiff" , " .pdf" ),
711
+ choices = c(" .png" , " .tiff" , " .svg " , " . pdf" ),
712
712
selected = " .png"
713
713
),
714
714
radioGroupButtons(
715
715
inputId = ns(" file_ext_Volcano_raw" ),
716
716
label = " File Type:" ,
717
- choices = c(" .png" , " .tiff" , " .pdf" ),
717
+ choices = c(" .png" , " .tiff" , " .svg " , " . pdf" ),
718
718
selected = " .png"
719
719
)
720
720
)
@@ -1023,7 +1023,7 @@ create_new_tab_DESeq <- function(title, targetPanel, result, contrast, alpha, ns
1023
1023
)
1024
1024
1025
1025
output [[ns(paste(contrast [1 ], contrast [2 ], " SavePlot_Volcano" , sep = " _" ))]] <- downloadHandler(
1026
- filename = function () { paste(" VOLCANO_" ,Sys.time(),input [[ns(" file_ext_Volcano" )]],sep = " " ) },
1026
+ filename = function () { paste(" VOLCANO_" ,format( Sys.time(), " (%d.%m.%Y)_(%H;%M;%S) " ),input [[ns(" file_ext_Volcano" )]],sep = " " ) },
1027
1027
content = function (file ){
1028
1028
ggsave(
1029
1029
filename = file ,
@@ -1043,7 +1043,7 @@ create_new_tab_DESeq <- function(title, targetPanel, result, contrast, alpha, ns
1043
1043
})
1044
1044
})
1045
1045
output [[ns(paste(contrast [1 ], contrast [2 ], " SavePlot_Volcano_raw" , sep = " _" ))]] <- downloadHandler(
1046
- filename = function () { paste(" raw_VOLCANO" ,Sys.time(),input [[ns(" file_ext_Volcano_raw" )]],sep = " " ) },
1046
+ filename = function () { paste(" raw_VOLCANO" ,format( Sys.time(), " (%d.%m.%Y)_(%H;%M;%S) " ),input [[ns(" file_ext_Volcano_raw" )]],sep = " " ) },
1047
1047
content = function (file ){
1048
1048
ggsave(
1049
1049
filename = file ,
@@ -1061,12 +1061,12 @@ create_new_tab_DESeq <- function(title, targetPanel, result, contrast, alpha, ns
1061
1061
})
1062
1062
})
1063
1063
output [[ns(paste(contrast [1 ], contrast [2 ], " SavePlot_Volcano_both" , sep = " _" ))]] <- downloadHandler(
1064
- filename = function () { paste0(" VOLCANO_" ,Sys.time(),input [[ns(" file_ext_Volcano " )]]) },
1064
+ filename = function () { paste0(" VOLCANO_" ,format( Sys.time(), " (%d.%m.%Y)_(%H;%M;%S) " ), input [[ns(" file_ext_Volcano_both " )]]) },
1065
1065
content = function (file ){
1066
1066
ggsave(
1067
1067
filename = file ,
1068
1068
plot = gridExtra :: arrangeGrob(sig_ana_reactive $ VolcanoPlot_raw , sig_ana_reactive $ VolcanoPlot ),
1069
- device = gsub(" \\ ." ," " ,input [[ns(" file_ext_Volcano " )]])
1069
+ device = gsub(" \\ ." ," " ,input [[ns(" file_ext_Volcano_both " )]])
1070
1070
)
1071
1071
on.exit({
1072
1072
fun_LogIt(message = " ## Differential analysis - Volcano {.tabset .tabset-fade}" )
0 commit comments