Skip to content

Commit

Permalink
Updated reference to Predictive Ability
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-sandercock committed Aug 28, 2024
1 parent 91ca93c commit 5b39803
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion R/app_ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ app_ui <- function(request) {
menuItem("GWASpoly", tabName = "gwas", icon = icon("think-peaks")),
tags$li(class = "header", style = "color: grey; margin-top: 18px; margin-bottom: 10px; padding-left: 15px;", "Genomic Selection"),
menuItem(
span("Prediction Accuracy", bs4Badge("beta", position = "right", color = "success")),
span("Predictive Ability", bs4Badge("beta", position = "right", color = "success")),
tabName = "prediction_accuracy",
icon = icon("right-left")),
menuItem(
Expand Down
4 changes: 2 additions & 2 deletions R/mod_GSAcc.R
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ mod_GSAcc_server <- function(id){
#geom_boxplot(position = position_dodge(width = 0.8), color = "black", width = 0.7, outlier.size = 0.2) +
geom_boxplot() +
facet_wrap(~ Trait, nrow = 1) + # Facet by trait, allowing different y-scales
labs(title = "Prediction Accuracy by Trait",
labs(title = "Predictive Ability by Trait",
x = " ",
y = "Pearson Correlation") +
#theme_minimal() + # Using a minimal theme
Expand All @@ -744,7 +744,7 @@ mod_GSAcc_server <- function(id){
geom_violin(trim = TRUE) + # Add violin plot
geom_point(position = position_jitter(width = 0.1), color = "black", size = 1.5) + # Add jittered points
facet_wrap(~ Trait, nrow = 1) + # Facet by trait, allowing different y-scales
labs(title = "Prediction Accuracy by Trait",
labs(title = "Predictive Ability by Trait",
x = " ", # x-label is blank because it's not relevant per facet
y = "Pearson Correlation") +
theme(legend.position = "none",
Expand Down

0 comments on commit 5b39803

Please sign in to comment.