cellsight 0.0.1
First release of CellSight, derived from ShinyCell2 under GPL-3.0. See vignette("credits") for upstream attribution.
App generation
makeShinyFiles()dispatches on the object it is given, so a single call writes every modality present: gene expression for Seurat objects and.h5adfiles, spatial data whenobj@imagesis populated, ATAC coverage when apeaksassay andbigWigGroupare supplied, and a DEG page whenprecomputed.degandclustersare given.ArchRProjectinputs route tomakeShinyFilesATACarchr().makeShinyCodes()assemblesserver.R,ui.RandshinyFunc.Rfrom jinjar templates shipped ininst/templates, replacing the previous hand-writtenwr*code writers. The generated files are run through styler so their layout is consistent regardless of how the template fragments were indented. Seevignette("templates")for the template map.Both single-dataset and multi-dataset apps are supported; multi-dataset apps group each dataset’s tabs under a per-dataset dropdown header.
.h5ad(AnnData / Scanpy) files are accepted wherever an object is, read via reticulate.makeH5fromAnndata()writes the expression matrix — readingh5ad.Xby default, or a named entry ofh5ad.layers.
Configuration
-
createConfig()accepts Seurat objects and.h5adfile paths, and theaddMeta()/delMeta()/modMetaName()/modLabels()/modColours()/modDefault()/reorderMeta()helpers refine the resulting config.checkConfig()validates a config against its object before you build.
Tooling
tools/render-and-lint.Rrenders a fully-featured app from the templates and lints the generated R, and runs on every pull request.Container assets under
tools/docker/CellSight/, including theingest_10x.Randseurat_inspector.Rhelper scripts. Seevignette("docker").A bundled VS Code syntax extension for
*.R.jinjafiles underinst/extdata/vscode-rjinja/.
