generateOncotreeUIwidgets {cbpManager} | R Documentation |
Create shiny UI-widget for specific columns of oncotree entries
generateOncotreeUIwidgets(colname, mode = c("add", "edit"))
colname |
column name |
mode |
determines the inputId prefix of the UI-widget |
A oncotree specific shiny UI-widget
oncotree <- jsonlite::fromJSON(system.file("extdata", "oncotree.json", package = "cbpManager")) cancer_type <- unique(oncotree$mainType[which(!is.na(oncotree$mainType))]) cbpManager:::generateOncotreeUIwidgets("CANCER_TYPE", "add")