checkConfig: Checks if shinycell config data.table contains any errors

View source: R/checkConfig.R

checkConfigR Documentation

Checks if shinycell config data.table contains any errors

Description

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.

Usage

checkConfig(scConf, obj)

Arguments

scConf

shinycell config data.table

obj

input single-cell object for Seurat (v3+) / SingleCellExperiment data or input file path for h5ad / loom files

Value

any potential error messages

Author(s)

John F. Ouyang

Examples

checkConfig(scConf, seu)


SGDDNB/ShinyCell documentation built on Jan. 25, 2024, 3:19 p.m.