Skip to content

Commit ebbaac3

Browse files
authored
Merge pull request #32 from liuzan-info/p2a
P2a
2 parents ac7296f + 73cf724 commit ebbaac3

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

server.R

+5
Original file line numberDiff line numberDiff line change
@@ -7654,6 +7654,11 @@ server<-shinyServer(function(input, output, session){
76547654
content = function(file) {file.copy("examplefile/download/motif_kinase_relation.xlsx", file)}
76557655
)
76567656

7657+
output$dlsubkinase <- downloadHandler(
7658+
filename = paste0("kinase_substrate_relation_species.csv"),
7659+
content = function(file) {file.copy(paste0("PhosMap_datasets/kinase_substrate_regulation_relationship_table/", input$kapspecies, "/", input$kapspecies, "_ksrr.csv"), file)}
7660+
)
7661+
76577662
###download###
76587663
#maxquant label-free
76597664
output$demomaxresult1_dl <- downloadHandler(filename = function(){paste("quality_control_result", userID,".csv",sep="")},content = function(file){file.copy(paste0(maxdemopreloc, "DemoPreQc.csv"), file)})

ui.R

+14-2
Original file line numberDiff line numberDiff line change
@@ -2518,6 +2518,12 @@ ui <- renderUI(
25182518
heading = "ANOVA Parameters Setting",
25192519
status = "info",
25202520
column(6, numericInput("anovafc", h5("FC threshold:"), 2, min = 1, step = 0.5)),
2521+
bsTooltip(
2522+
"anovafc",
2523+
"Calculation method for Fold Change (FC): Based on the experimental design file, the average of the same experimental group is calculated for each upsID, and the FC is determined as the quotient of the maximum and minimum values.",
2524+
placement = "right",
2525+
options = list(container = "body")
2526+
),
25212527
column(
25222528
6,
25232529
selectInput("anovaadjust", h5("p-values adjust method:"), choices = c("none", "holm", "hochberg", "hommel", "bonferroni", "BH", "BY", "fdr"), selected = "BH")
@@ -2640,7 +2646,9 @@ ui <- renderUI(
26402646
tabPanel(
26412647
"Kinase-Substrate Enrichment Analysis",
26422648
h2("Kinase-Substrate Enrichment Analysis", class = "tooltitle"),
2643-
h4("This module is used to predict kinase activity.", class = "toolsubtitle"),
2649+
column(3, NULL),
2650+
column(6, h4("This module is used to predict kinase activity.", class = "toolsubtitle")),
2651+
column(3, downloadButton("dlsubkinase", HTML("<span style='color:red;'>Kinase</span>-Substrate Regulatory Relation"))),
26442652
fluidRow(
26452653
column(
26462654
4,
@@ -2672,7 +2680,7 @@ ui <- renderUI(
26722680
heading = "KSEA Parameters Setting [Step 2]",
26732681
status = "warning",
26742682
column(6, uiOutput("kapstep2cluster")),
2675-
column(6, selectInput("kapspecies", h5("species:"), choices = c("human", "mouse", "rattus"))),
2683+
column(6, selectInput("kapspecies", h5("species:"), choices = c("human", "mouse", "ratttus"))),
26762684
column(6, selectInput("kapscale", h5("scale:"), choices = c("none", "row", "column"), selected = "none")),
26772685
column(6, selectInput("kapdistance", h5("clustering distance rows:"), choices = c("euclidean", "correlation"), selected = "euclidean")),
26782686
column(6, selectInput("kapclusmethod", h5("clustering method:"), choices = c("ward.D2", "ward.D", "single", "complete", "average", "mcquitty", "median", "centroid"), selected = "ward.D2")),
@@ -2832,6 +2840,10 @@ ui <- renderUI(
28322840
column(3, NULL),
28332841
column(6, h4("This module is used to find and visualize enriched motifs.", class = "toolsubtitle")),
28342842
column(3, downloadButton("dlmotifkinase", HTML("Motif-<span style='color:red;'>Kinase</span> Relation"))),
2843+
bsTooltip(
2844+
"dlmotifkinase",
2845+
"When you are interested in upstream kinases binding to specific motifs, you can refer to the provided Motif-Kinase Relation table to identify potential regulatory kinases."
2846+
),
28352847
# column(3, actionLink("infoLink", "Motif-Kinase Relation", class = "btn-info")),
28362848

28372849
fluidRow(

0 commit comments

Comments
 (0)