Reorder the order in which metadata appear in the dropdown menu in the shiny app.

reorder_meta(scConf, nmo)

Arguments

scConf

shinycell config data.table

nmo

character vector containing new order. All metadata names must be included, which can be found at scConf$ID

Value

updated shinycell config data.table

Author

John F. Ouyang

Roy Francis

Examples

if (FALSE) {
scConf = reorder_meta(scConf, scConf$ID[c(1,3,2,4:length(scConf$ID))])
}