generateOncotreeUIwidgets {cbpManager} | R Documentation

## Create shiny UI-widget for specific columns of oncotree entries

### Description

Create shiny UI-widget for specific columns of oncotree entries

### Usage

    generateOncotreeUIwidgets(colname, mode = c("add", "edit"))

### Arguments

`colname` | column name
`mode` | determines the inputId prefix of the UI-widget

### Value

A oncotree specific shiny UI-widget

### Examples

    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")

[Package cbpManager version 1.2.2 Index]