aephiday commited on
Commit
e17d161
1 Parent(s): cf66814

Update app.R

Browse files
Files changed (1) hide show
  1. app.R +2 -1
app.R CHANGED
@@ -522,7 +522,8 @@ server <- function(input, output, session){
522
  to_pred_df <- read_csv(input$file_data$datapath)
523
  vep %>%
524
  augment(new_data = to_pred_df) %>%
525
- mutate(.pred_class = factor(if_else(.pred_Yes > 0.5, "Yes", "No"), levels = c("Yes", "No")))
 
526
  }
527
  })
528
 
 
522
  to_pred_df <- read_csv(input$file_data$datapath)
523
  vep %>%
524
  augment(new_data = to_pred_df) %>%
525
+ mutate(.pred_class = factor(if_else(.pred_Yes > 0.5, "Yes", "No"), levels = c("Yes", "No"))) %>%
526
+ arrange(desc(.pred_Yes))
527
  }
528
  })
529