addMeta | R Documentation |
Add a metadata to be included in the shiny app.
addMeta(scConf, meta.to.add, obj, maxLevels = 50)
scConf |
shinycell config data.table |
meta.to.add |
metadata to add from the single-cell metadata. Must match one of the following:
|
obj |
input single-cell object for Seurat (v3+) / SingleCellExperiment data or input file path for h5ad / loom files |
maxLevels |
maximum number of levels allowed for categorical metadata. Metadata with nlevels > maxLevels will throw up an error message |
updated shinycell config data.table
John F. Ouyang
scConf = addMeta(scConf, c("orig.ident"), seu)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.