spatialLagGLM
This is the development version of spatialLagGLM; to use it, please install the devel version of Bioconductor.
Spatial Lag Regression for Spatial Transcriptomics
Bioconductor version: Development (3.25)
Ranks genes in spatial transcriptomics data by the association between a spot's expression and the expression of its neighbours. For every gene, a quasi-Poisson generalized linear model is fitted with a library-size offset, user-defined design terms from the colData, and the spatial lag of the gene's own normalised counts as an additional covariate. The lag is a row-normalised, inverse-distance weighted mean over spots within a given radius, computed separately for each sample. The coefficient and test statistic of the lag, and the rank of the statistic across genes, are stored in the rowData of the input SpatialExperiment. No p-values are reported, because the null distribution of the statistic is not calibrated; the statistic is intended for ranking genes. Weights are computed in C++ with RcppArmadillo, and genes are fitted in parallel with BiocParallel. Plotting functions and a Shiny explorer are included.
Author: Sahal Paladan [aut, cre]
Maintainer: Sahal Paladan <sahalpaladan at gmail.com>
citation("spatialLagGLM")):Sahal Paladan. spatialLagGLM: Spatial Lag Regression for Spatial Transcriptomics. doi:10.18129/B9.bioc.spatialLagGLM, R package version 0.99.6, https://bioconductor.org/packages/spatialLagGLM.
Generated from the package metadata; it may differ from the package's own citation.
Installation
To install this package, start R (version "4.7") and enter:
if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")
## The following initializes the development version of Bioconductor
BiocManager::install(version = "devel")
BiocManager::install("spatialLagGLM") For older versions of R, please refer to the appropriate Bioconductor release.
Documentation
To view documentation for the version of this package installed in your system, start R and enter:
browseVignettes("spatialLagGLM") | Spatial lag regression with spatialLagGLM | HTML |
| Reference Manual | |
| NEWS | Text |
Details
| biocViews | GeneExpression, Normalization, RNASeq, Regression, Software, Spatial, Transcriptomics |
| Version | 0.99.6 |
| In Bioconductor since | BioC 3.25 (R-4.7) |
| License | MIT + file LICENSE |
| Depends | R (>= 4.5.0) |
| Imports | BiocParallel (>= 1.36.0), Matrix, methods, Rcpp (>= 1.0.11), S4Vectors, SpatialExperiment (>= 1.12.0), stats, SummarizedExperiment (>= 1.32.0), ggplot2 (>= 3.4.0), utils |
| System Requirements | |
| URL | https://github.com/sahalpaladan/spatialLagGLM |
| Bug Reports | https://github.com/sahalpaladan/spatialLagGLM/issues |
See More
| Suggests | BiocStyle (>= 2.30.0), knitr (>= 1.45), rmarkdown (>= 2.25), shiny (>= 1.8.0), STexampleData, testthat (>= 3.0.0) |
| Linking To | Rcpp, RcppArmadillo (>= 0.12.0) |
| Enhances | |
| Depends On Me | |
| Imports Me | |
| Suggests Me | |
| Links To Me | |
| Build Report | Build Report, r-universe |
Package Archives
Follow Installation instructions to use this package in your R session.
| Source Package | |
| Windows Binary (x86_64) | |
| macOS Binary (big-sur-x86_64) | |
| macOS Binary (sonoma-arm64) | |
| Source Repository | git clone https://git.bioconductor.org/packages/spatialLagGLM |
| Source Repository (Developer Access) | git clone git@git.bioconductor.org:packages/spatialLagGLM |
| Package Short Url | https://bioconductor.org/packages/spatialLagGLM/ |
| Package Downloads Report | Download Stats |