v1.7.7
cerebroAppLite 1.7.7
Multiple data sets (multi-crb)
- Dataset switcher:
createShinyApp()now accepts a named vector of several
.crbfiles and renders a "Select dataset:" dropdown in the sidebar, letting
users move between data sets without restarting the app. Single-file usage is
unchanged and shows no switcher. By default the smallest file is loaded first
(crb_pick_smallest_file, defaultTRUE). - URL selection: a data set can be opened directly via the URL, matched by
the name given incerebro_dataor by file basename — either as a query
string (?dataset=TCR) or as the last path segment (/TCR). - Demo data sets: three genuinely distinct demo
.crbfiles ship in
inst/extdata/v1.4/—demo_full_tcr_bcr.crb(all cells, TCR + BCR),
demo_healthy_t.crb(T + monocytes, TCR) anddemo_bcell_rich.crb(B-cell
rich, BCR). They differ in cell composition, so the UMAP and cell-type mix
change as you switch, and clonotypes are assigned by lineage (TCR to T cells,
BCR to B cells) rather than at random. Group-level analyses (marker genes,
most-expressed genes, enriched pathways) are filtered to the cell types kept
in each subset, so the demos are internally consistent. Built from the public
10x Genomicsvdj_v1_hs_pbmc3dataset; seedata-raw/README.mdfor the
reproducible build. The bundled app (shiny::runApp("inst")) now opens on
these three data sets so the switcher is visible out of the box; pass a named
vector tocreateShinyApp()for your own data (seevignette("multi_crb")).
New vignette: Loading multiple data sets (multi-crb) with a dataset
switcher.
Immune repertoire
- Clonal UMAP no longer renders blank when the Immune repertoire tab is
opened after visiting another tab (e.g. Main). The plotly renderer was gated
on server-reported plot dimensions, which are not yet available when its
output element is created on tab switch; plotly sizes itself client-side, so
that gate was removed.
What's Changed
Full Changelog: v1.7.6...v1.7.7