Package: STBench 0.99.2

Lahiru Boyagoda

STBench: Normalisation and Benchmarking for Spatial Transcriptomics

Description: Provides a unified framework for applying and benchmarking normalisation methods for spatial transcriptomics data. The package supports quality control, spatially variable gene analysis, clustering, cell-type annotation, biological interpretation, visualisation, and other downstream analyses to evaluate the preservation of biological signals across normalisation methods.

Authors:Lahiru Boyagoda [aut, cre]

STBench_0.99.2.tar.gz
STBench_0.99.2.zip(r-4.7-any)STBench_0.99.2.zip(r-4.6-any)STBench_0.99.2.zip(r-4.5-any)
STBench_0.99.2.tgz(r-4.6-any)STBench_0.99.2.tgz(r-4.5-any)
STBench_0.99.2.tar.gz(r-4.7-any)STBench_0.99.2.tar.gz(r-4.6-any)
STBench_0.99.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
STBench/json (API)

# Install 'STBench' in R:
install.packages('STBench', repos = c('https://biocstaging.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/lahiru-lsb/stbench/issues

Pkgdown/docs site:https://lahiru-lsb.github.io

Datasets:

On CRAN:

Conda:

spatialgeneexpressionnormalizationqualitycontrolvisualizationclusteringtranscriptomics

3.30 score 50 exports 190 dependencies

Last updated from:d151442708. Checks:1 NOTE, 7 ERROR, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
bioc-checksNOTE240
linux-develERROR407
source / vignettesOK616
linux-releaseERROR396
macos-releaseERROR493
macos-oldrelERROR462
windows-develERROR376
windows-releaseERROR433
windows-oldrelERROR371
wasm-releaseOK239

Exports:add_qcscalculate_annotation_agreementcalculate_clustering_metricscalculate_gene_selection_metricscalculate_goextract_svg_gene_setextract_svg_statsfilter_qcget_umap_datanorm_giottonorm_nonenorm_scrannorm_sctnorm_spanormnormalize_speplot_annotation_agreementplot_ccc_circleplot_ccc_lrplot_ccc_pathwaysplot_ccc_sender_receiverplot_celltype_proportionplot_clustering_metricsplot_gene_selection_metricsplot_goplot_go_genesplot_library_size_comparisonplot_marker_aucplot_marker_expressionplot_marker_ttestplot_normalization_rankingplot_qcplot_qc_cutoffsplot_qc_removed_spotsplot_spatial_annotationplot_spatial_clusteringplot_spatial_expressionplot_svg_gene_set_distributionplot_svg_gene_setsplot_svg_rankplot_svg_rank_correlationplot_svg_rank_vs_statplot_svg_statplot_svg_topn_gene_setplot_umap_comparisonrank_normalization_methodsrun_annotationrun_banksy_gene_selectionrun_banksy_individualrun_cccrun_svg

Dependencies:abindaisdkAnnotationDbiapeaplotaskpassassortheadbase64encbeachmatbeeswarmBHBiobaseBiocBaseUtilsBiocFileCacheBiocGenericsBiocNeighborsBiocParallelBiocSingularBiostringsbitbit64blobblusterbslibcachemcallrcliclusterclusterProfilercodetoolscolorspacecpp11crayoncurlDBIdbplyrDelayedArraydigestDOSEdplyrdqrngedgeRenrichitenrichplotevaluatefarverfastmapfilelockFNNfontawesomefontBitstreamVerafontLiberationfontquiverformatRfsfutile.loggerfutile.optionsfuturefuture.applygdtoolsgenericsGenomicRangesggbeeswarmggforceggfunggiraphggnewscaleggplot2ggplotifyggrepelggtangleggtreeglobalsglueGO.dbGOSemSimgridExtragridGraphicsgsongtablehighrhtmltoolshtmlwidgetshttrhttr2igraphIRangesirlbaisobandjquerylibjsonliteKEGGRESTknitrlabelinglambda.rlatticelazyevallifecyclelimmalistenvmagickmagrittrMASSMatrixMatrixGenericsmatrixStatsmclustmemoisemetapodmimenlmeopensslotelparallellypatchworkpheatmappillarpkgconfigplyrpngPolychromepolyclippROCprocessxpspurrrqvalueR6rappdirsRColorBrewerRcppRcppAnnoyRcppArmadilloRcppEigenRcppMLRcppProgressreshape2rjsonrlangrmarkdownRSpectraRSQLitersvdRtsneS4ArraysS4VectorsS7sassScaledMatrixscalesscaterscatterpiescatterplot3dscransctransformscuttleSeqinfoSingleCellExperimentSingleRsitmosnowSparseArraysparseMatrixStatsSpatialExperimentstatmodstringistringrSummarizedExperimentsyssystemfontstibbletidydrtidyrtidyselecttidytreetinytextreeiotreelayouttweenrutf8uwotvctrsviporviridisviridisLitewithrxfunXVectoryamlyulab.utils

GO-and-CCC-analyses
Introduction | Differential expression and GO enrichment | Visualise enriched biological processes | Visualise differential-expression genes | Visualise GO enrichment results | Cell-cell communication analysis | Prepare data for CellChat | Run CellChat across normalisation methods | Compare signalling pathway strengths | Compare ligand-receptor interactions | Compare sender-receiver communication | Visualise pathway-specific communication networks | Summary | Session information

Last update: 2026-11-22
Started: 2026-11-22

Cell-type annotation and spatial clustering with STBench
Introduction | Cell-type annotation | Visualise spatial cell-type assignments | Compare cell-type composition | Calculate and plot annotation agreement | Marker investigations | BANKSY spatial clustering | Visualise and evaluate BANKSY clusters | BANKSY with different gene-selection strategies | Session information

Last update: 2026-11-22
Started: 2026-11-21

Getting started with STBench
Introduction | Load data | Quality control | Calculate and visualise QC metrics | Explore filtering thresholds | Apply filtering and reassess QC | Apply normalisation methods | Compare normalised library sizes | UMAP visualisation | Session information

Last update: 2026-11-21
Started: 2026-11-21

Spatially variable gene analysis with STBench
Introduction | Detect spatially variable genes | Evaluate biologically relevant marker genes | Compare SVG statistics | Compare SVG rankings | Investigate SVG ranks against LR statistics | Compare overall marker gene SVG statistics | Evaluate SVG ranking consistency | Investigate housekeeping gene behaviour | Examine genes among top-ranked SVGs | Compare SVG statistics between gene sets | Spatial expression of marker genes | Session information

Last update: 2026-11-21
Started: 2026-11-21

Readme and manuals

Help Manual

Help pageTopics
Add quality-control metricsadd_qcs
Calculate pairwise cell-type annotation agreementcalculate_annotation_agreement
Calculate BANKSY clustering evaluation metricscalculate_clustering_metrics
Calculate clustering metrics across gene-selection strategiescalculate_gene_selection_metrics
Calculate GO enrichment from cluster-specific DE genescalculate_go
Extract SVG statistics for a gene setextract_svg_gene_set
Extract SVG statistics for selected genesextract_svg_stats
Filter a SpatialExperiment using QC thresholdsfilter_qc
Calculate UMAP embeddings across normalisation methodsget_umap_data
Example normalised data for cell-cell communicationnorm_ccc_example
Example normalised spatial transcriptomics datasetsnorm_example
Giotto normalisationnorm_giotto
No normalisationnorm_none
Scran normalisationnorm_scran
SCTransform normalisationnorm_sct
SpaNorm normalisationnorm_spanorm
Apply multiple normalisation methodsnormalize_spe
Plot pairwise cell-type annotation agreementplot_annotation_agreement
Plot CellChat circle networksplot_ccc_circle
Plot CCC ligand-receptor interactionsplot_ccc_lr
Plot CCC signaling pathway strengthplot_ccc_pathways
Plot CCC sender-receiver communicationplot_ccc_sender_receiver
Plot cell-type proportionsplot_celltype_proportion
Plot clustering metrics across normalisation methodsplot_clustering_metrics
Plot BANKSY gene-selection clustering metricsplot_gene_selection_metrics
Plot GO enrichment resultsplot_go
Plot cluster-specific DE genes used for GOplot_go_genes
Compare normalised library sizes across methodsplot_library_size_comparison
Plot marker-gene discrimination across methodsplot_marker_auc
Plot marker expression across normalisation methodsplot_marker_expression
Compare Marker Gene Expression Between Cell Groupsplot_marker_ttest
Plot normalisation method rankingplot_normalization_ranking
Plot quality-control distributionsplot_qc
Plot QC cutoff effectsplot_qc_cutoffs
Plot Spatial Distribution of Removed QC Spotsplot_qc_removed_spots
Plot spatial cell-type annotationsplot_spatial_annotation
Plot spatial clustering resultsplot_spatial_clustering
Plot spatial expression across normalisation methodsplot_spatial_expression
Plot SVG statistic distribution for a gene setplot_svg_gene_set_distribution
Compare SVG statistics across multiple gene setsplot_svg_gene_sets
Plot SVG ranks for selected genesplot_svg_rank
Plot SVG Rank Correlation Across Normalisation Methodsplot_svg_rank_correlation
Plot SVG Rank Against SVG Statisticplot_svg_rank_vs_stat
Plot SVG statistic for selected genesplot_svg_stat
Proportion of a gene set among top-ranked SVGsplot_svg_topn_gene_set
Plot UMAP comparisons across normalisation methodsplot_umap_comparison
Rank normalisation methods by overall clustering agreementrank_normalization_methods
Run cell-type annotationrun_annotation
Run BANKSY with different gene-selection strategiesrun_banksy_gene_selection
Run BANKSY clustering independently for each slicerun_banksy_individual
Run CellChat across normalization methodsrun_ccc
Run spatially variable gene detectionrun_svg
Example spatial transcriptomics datasetspe_example
Example spatially variable gene resultssvg_example