SpaNorm

R package for normalisation of spatial transcriptomics data

https://github.com/bhuvad/spanorm

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    4 of 5 committers (80.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.3%) to scientific vocabulary

Keywords from Contributors

genomics bioinformatics bioconductor-package gene
Last synced: 10 months ago · JSON representation

Repository

R package for normalisation of spatial transcriptomics data

Basic Info
Statistics
  • Stars: 13
  • Watchers: 3
  • Forks: 2
  • Open Issues: 3
  • Releases: 0
Created over 2 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog License

README.md

SpaNorm - Spatially-aware normalisation for spatial transcriptomics data

R-CMD-check <!-- badges: end -->

SpaNorm is a spatially aware library size normalisation method that removes library size effects, while retaining biology. Library sizes need to be removed from molecular datasets to allow comparisons across observations, in this case, across space. Bhuva et al. (2024) and Atta et al. (2023) have shown that standard single-cell inspired library size normalisation approaches are not appropriate for spatial molecular datasets as they often remove biological signals while doing so. This is because library size confounds biology in spatial molecular data.

_The SpaNorm workflow: SpaNorm takes the gene expression data and spatial coordinates as inputs. Using a gene-wise model (e.g., Negative Binomial (NB)), SpaNorm decomposes spatially-smooth variation into those unrelated to library size (LS), representing the underlying true biology and those related to library size. The adjusted data is then produced by keeping only the variation unrelated to library size._

SpaNorm uses a unique approach to spatially constraint modelling approach to model gene expression (e.g., counts) and remove library size effects, while retaining biology. It achieves this through three key innovations:

  1. Computing spatially smooth functions (using thin plate splines) to represent the gene- and location-/cell-/spot- specific size factors.
  2. Optimal decomposition of spatial variation into spatially smooth library size associated (technical) and library size independent (biology) variation using generalized linear models (GLMs).
  3. Adjustment of data using percentile adjusted counts (PAC) (Salim et al., 2022), as well as other adjustment approaches (e.g., Pearson).

Installation

SpaNorm can be installed from Bioconductor directly as follows:

``` r if (!requireNamespace("BiocManager", quietly = TRUE)) install.packages("BiocManager")

BiocManager::install("SpaNorm") ```

The development version can be installed as follows:

``` r if (!requireNamespace("BiocManager", quietly = TRUE)) install.packages("BiocManager")

BiocManager::install("bhuvad/SpaNorm") ```

Owner

  • Name: Dharmesh Bhuva
  • Login: bhuvad
  • Kind: user
  • Location: Adelaide
  • Company: University of Adelaide

Post-doc working on systems biology and spatial statistics.

GitHub Events

Total
  • Issues event: 7
  • Watch event: 2
  • Issue comment event: 9
  • Push event: 41
  • Create event: 2
Last Year
  • Issues event: 7
  • Watch event: 2
  • Issue comment event: 9
  • Push event: 41
  • Create event: 2

Committers

Last synced: 10 months ago

All Time
  • Total Commits: 110
  • Total Committers: 5
  • Avg Commits per committer: 22.0
  • Development Distribution Score (DDS): 0.182
Past Year
  • Commits: 66
  • Committers: 4
  • Avg Commits per committer: 16.5
  • Development Distribution Score (DDS): 0.136
Top Committers
Name Email Commits
Dharmesh Bhuva d****a@a****u 90
Agus Salim l****g@g****m 11
bhuvad d****a@u****u 5
A Wokaty a****y@s****u 2
J Wokaty j****y@s****u 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 6
  • Total pull requests: 0
  • Average time to close issues: 3 months
  • Average time to close pull requests: N/A
  • Total issue authors: 6
  • Total pull request authors: 0
  • Average comments per issue: 1.5
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 6
  • Pull requests: 0
  • Average time to close issues: 3 months
  • Average time to close pull requests: N/A
  • Issue authors: 6
  • Pull request authors: 0
  • Average comments per issue: 1.5
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • aelhossiny (1)
  • swaruplab (1)
  • Lahiru-lsb (1)
  • Jorges1000 (1)
  • mjemons (1)
  • jordan841220 (1)
  • marcouderzo (1)
  • ashsolano (1)
  • erikgerdtsson (1)
  • roanvanscheppingen (1)
Pull Request Authors
  • joaolsf (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • bioconductor 2,516 total
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
bioconductor.org: SpaNorm

Spatially-aware normalisation for spatial transcriptomics data

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 2,516 Total
Rankings
Dependent repos count: 0.0%
Dependent packages count: 31.5%
Average: 42.4%
Downloads: 95.6%
Last synced: 10 months ago

Dependencies

DESCRIPTION cran
  • R >= 4.2.0 depends
  • Matrix >=1.2 imports
  • MultipleExperiment >= 0.99.0 imports
  • SingleCellExperiment >= 1.14.1 imports
  • SpatialExperiment >= 1.8.1 imports
  • SummarizedExperiment >= 1.28.0 imports
  • edgeR >= 3.34.0 imports
  • matrixStats >= 0.63.0 imports
  • scater >= 1.26.1 imports
  • scran >= 1.26.2 imports
  • knitr * suggests
  • rmarkdown * suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v4 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.5.0 composite
  • actions/checkout v4 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
Dockerfile docker
  • bioconductor/bioconductor_docker RELEASE_3_19 build