generateUIwidgets {cbpManager} | R Documentation |
Generate UI input widget
generateUIwidgets( colname, mode = c("add", "edit"), tab = c("Patient", "Sample"), data = NULL, selected_row = NULL, patientIDs = NULL )
colname |
A character string - the name of the column, that will be the label of the input |
mode |
"add" or "edit" - wether to use existing values or not |
tab |
"Patient", "Sample" - The used tab; sets the html id prefix of the input |
data |
A data.frame. |
selected_row |
A number indicating the row number of the selected row in the data.frame. |
patientIDs |
Vector of patient IDs used for drop down menu of the PATIENT_ID column |
A sanitized string.
cbpManager:::generateUIwidgets(colname = "attribute", mode = "add", tab = "Patient")