Skip to content

Commit 7c2a75b

Browse files
committed
Clarifies filter label and rounds probability values
Improves user clarity by renaming the filter label to explicitly reference "Source of Autoregulation Data." Enhances readability of displayed values by rounding mechanism probability and type confidence to three decimal places. Updates patch notes to document these changes.
1 parent d027a38 commit 7c2a75b

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

shiny_app/app.R

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ ui <- navbarPage(
900900
div(class = "source-select",
901901
selectInput(
902902
"source_mode",
903-
"Data Source",
903+
"Source of Autoregulation Data",
904904
choices = c("All" = "all",
905905
"UniProt" = "UniProt",
906906
"Predicted" = "Predicted",
@@ -3121,7 +3121,7 @@ server <- function(input, output, session) {
31213121
" 'Authors': 'List of publication authors',",
31223122
" 'Year': 'Publication year',",
31233123
" 'Month': 'Publication month',",
3124-
" 'Source': 'Data source: UniProt (curated), Predicted (ML predictions), OmniPath/SIGNOR/TRRUST (external databases)',",
3124+
" 'Source': 'Source of autoregulation data: UniProt (curated), Predicted (ML predictions), OmniPath/SIGNOR/TRRUST (external databases)',",
31253125
" 'Protein Name': 'Full name of the protein from UniProt',",
31263126
" 'Gene Name': 'Gene symbol for the protein',",
31273127
" 'Protein ID': 'UniProt protein identifier',",
@@ -3219,14 +3219,15 @@ server <- function(input, output, session) {
32193219
Shiny.setInputValue('show_full_text', { field: field, row_id: row_id }, {priority: 'event'});
32203220
});
32213221
")
3222-
)
3222+
) %>%
3223+
formatRound(columns = c("Mechanism Probability", "Type Confidence"), digits = 3)
32233224
})
32243225

32253226

32263227

32273228
# Patch Notes Table Data
32283229
patch_notes_data <- data.frame(
3229-
Version = c("0.0.1", "0.0.2", "0.0.3", "0.0.4", "0.0.5", "0.0.6", "0.0.7", "0.0.8", "0.0.9", "0.0.10", "0.0.11", "0.0.12"),
3230+
Version = c("0.0.1", "0.0.2", "0.0.3", "0.0.4", "0.0.5", "0.0.6", "0.0.7", "0.0.8", "0.0.9", "0.0.10", "0.0.11", "0.0.12", "0.0.13"),
32303231
Description = c(
32313232
paste(
32323233
"<ul>",
@@ -3341,9 +3342,15 @@ server <- function(input, output, session) {
33413342
"<li><strong>Smart Filter Detection:</strong> Threshold filters only activate when slider moves above minimum data value, preventing unnecessary filtering at baseline</li>",
33423343
"<li><strong>Reset Improvements:</strong> Reset Filters button now correctly returns thresholds to data minimums rather than zero</li>",
33433344
"</ul>"
3345+
),
3346+
paste(
3347+
"<ul>",
3348+
"<li><strong>Label Clarity Improvement:</strong> Changed 'Data Source' filter label to 'Source of Autoregulation Data' for better clarity and specificity</li>",
3349+
"<li><strong>Probability Precision:</strong> Rounded Mechanism Probability and Type Confidence values to 3 decimal places (e.g., 0.644 instead of 0.6438683271408081) for improved readability</li>",
3350+
"</ul>"
33443351
)
33453352
),
3346-
Date = c("2025-05-29", "2025-06-01", "2025-06-04", "2025-06-19", "2025-06-24", "2025-07-02", "2025-07-10", "2025-11-04", "2025-12-07", "2025-12-08", "2025-12-27", "2026-01-12"),
3353+
Date = c("2025-05-29", "2025-06-01", "2025-06-04", "2025-06-19", "2025-06-24", "2025-07-02", "2025-07-10", "2025-11-04", "2025-12-07", "2025-12-08", "2025-12-27", "2026-01-12", "2026-01-13"),
33473354
stringsAsFactors = FALSE
33483355
)
33493356

0 commit comments

Comments
 (0)