Skip to content

Commit

Permalink
Merge pull request #17 from jinseob2kim/dev/limcw
Browse files Browse the repository at this point in the history
Add cut_roc for jsBasicExtAddin()
  • Loading branch information
ChangwooLim authored Dec 13, 2023
2 parents 9cb45a7 + 6ba519f commit e02821c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/jsBasicGadget.R
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,7 @@ jsBasicExtAddin <- function(nfactor.limit = 20, max.filesize = 2048) {
),
mainPanel(
withLoader(plotOutput("plot_roc"), type = "html", loader = "loader6"),
tableOutput("cut_roc"),
ggplotdownUI("roc"),
withLoader(DTOutput("table_roc"), type = "html", loader = "loader6")
)
Expand Down Expand Up @@ -1200,6 +1201,10 @@ jsBasicExtAddin <- function(nfactor.limit = 20, max.filesize = 2048) {
print(out_roc()$plot)
})

output$cut_roc <- renderTable({
print(out_roc()$cut)
})

output$table_roc <- renderDT({
datatable(out_roc()$tb,
rownames = F, editable = F, extensions = "Buttons",
Expand Down

0 comments on commit e02821c

Please sign in to comment.