Add a metadata to be included in the shiny app.
Arguments
- scConf
CellSight config data.table
- meta.to.add
metadata to add from the single-cell metadata. Must match one of the following:
Seurat objects: column names in
seu@meta.datai.e.colnames(seu@meta.data)h5ad files: column names in
h5ad.obsi.e.h5ad.obs.columns.values
- obj
input Seurat (v3+) object or input file path for h5ad file
- maxLevels
maximum number of levels allowed for categorical metadata. Metadata with nlevels > maxLevels will throw up an error message
Examples
if (FALSE) { # \dontrun{
scConf = addMeta(scConf, c("orig.ident"), seu)
} # }
