createConfig | R Documentation |
Create a shinycell config data.table containing (i) the single-cell metadata to display on the Shiny app, (ii) ordering of factors / categories of categorical metadata and (iii) colour palettes associated with each metadata.
createConfig(obj, meta.to.include = NA, legendCols = 4, maxLevels = 50)
obj |
input single-cell object for Seurat (v3+) / SingleCellExperiment data or input file path for h5ad / loom files |
meta.to.include |
columns to include from the single-cell metadata.
Default is
|
legendCols |
maximum number of columns allowed when displaying the legends of categorical metadata |
maxLevels |
maximum number of levels allowed for categorical metadata. Metadata with nlevels > maxLevels will be discarded automatically |
shinycell config data.table
John F. Ouyang
scConf = createConfig(obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.