Checks if shinycell config data.table contains any errors. It is useful and reccomended to run this function if users have motified the shinycell config manually. Errors can include (i) levels in scConf does not match that in the Seurat/SingleCellExperiment object, (ii) number of levels does not match number of colours and (iii) specified colours are invalid colours.
check_config(scConf, obj)
shinycell config data.table
input single-cell object for Seurat (v3+) / SingleCellExperiment data or input file path for h5ad / loom files
any potential error messages
if (FALSE) {
check_config(scConf, seu)
}