Package: spatialLagGLM Title: Spatial Lag Regression for Spatial Transcriptomics Version: 0.99.4 Authors@R: person("Sahal", "Paladan", email = "sahalpaladan@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "0009-0005-0120-128X")) Description: Tests each gene in spatial transcriptomics data for 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, p-value and adjusted p-value of the lag are stored in the rowData of the input SpatialExperiment. Weights are computed in C++ with RcppArmadillo, and genes are fitted in parallel with BiocParallel. The p-values are intended for exploratory use. Plotting functions and a Shiny explorer are included. License: MIT + file LICENSE Encoding: UTF-8 biocViews: GeneExpression, Normalization, Regression, RNASeq, Software, Spatial, Transcriptomics URL: https://github.com/sahalpaladan/spatialLagGLM BugReports: https://github.com/sahalpaladan/spatialLagGLM/issues 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 LinkingTo: Rcpp, RcppArmadillo (>= 0.12.0) Suggests: BiocStyle (>= 2.30.0), knitr (>= 1.45), rmarkdown (>= 2.25), shiny (>= 1.8.0), STexampleData, testthat (>= 3.0.0) VignetteBuilder: knitr Config/roxygen2/version: 8.1.0 Config/pak/sysreqs: libmagick++-dev gsfonts libicu-dev libssl-dev zlib1g-dev Repository: https://biocstaging.r-universe.dev Date/Publication: 2026-11-25 04:29:10 UTC RemoteUrl: https://github.com/BiocStaging/spatialLagGLM RemoteRef: HEAD RemoteSha: cfe83d26a1b69127b14cdd4b92c2efe66903e94f NeedsCompilation: yes Packaged: 2026-11-25 13:11:16 UTC; root Author: Sahal Paladan [aut, cre] (ORCID: ) Maintainer: Sahal Paladan