Package: DESpace
Type: Package
Title: DESpace: a framework to discover spatially variable genes and
        differential spatial patterns across conditions
Version: 2.3.2
Description: Intuitive framework for identifying spatially variable
        genes (SVGs) and differential spatial variable pattern (DSP)
        between conditions via edgeR, a popular method for performing
        differential expression analyses. Based on pre-annotated
        spatial clusters as summarized spatial information, DESpace
        models gene expression using a negative binomial (NB), via
        edgeR, with spatial clusters as covariates. SVGs are then
        identified by testing the significance of spatial clusters. For
        multi-sample, multi-condition datasets, we again fit a NB model
        via edgeR, incorporating spatial clusters, conditions and their
        interactions as covariates. DSP genes-representing differences
        in spatial gene expression patterns across experimental
        conditions-are identified by testing the interaction between
        spatial clusters and conditions.
Authors@R: c(
    person(given = "Peiying",
           family = "Cai",
           role = c("aut", "cre"),
           email = "peiying.cai@uzh.ch",
           comment = c(ORCID = "0009-0001-9229-2244")),
    person(given = "Simone",
           family = "Tiberi",
           role = c("aut"),
           email = "simone.tiberi@unibo.it",
           comment = c(ORCID = "0000-0002-3054-9964")))
biocViews: Spatial, SingleCell, RNASeq, Transcriptomics,
        GeneExpression, Sequencing,
        DifferentialExpression,StatisticalMethod, Visualization
License: GPL-3
Depends: R (>= 4.4.0)
Imports: edgeR, limma, dplyr, stats, Matrix, SpatialExperiment,
        ggplot2, SummarizedExperiment, S4Vectors, BiocGenerics,
        data.table, assertthat, terra, sf, spatstat.explore,
        spatstat.geom, ggforce, ggnewscale, patchwork, BiocParallel,
        methods, scales, scuttle
Suggests: knitr, rmarkdown, testthat, BiocStyle, muSpaData,
        ExperimentHub, spatialLIBD, purrr, reshape2, tidyverse,
        concaveman
VignetteBuilder: knitr
RoxygenNote: 7.3.3
ByteCompile: true
Encoding: UTF-8
URL: https://github.com/peicai/DESpace,
        https://peicai.github.io/DESpace/
BugReports: https://github.com/peicai/DESpace/issues
Config/pak/sysreqs: libabsl-dev cmake libfontconfig1-dev
        libfreetype6-dev libgdal-dev gdal-bin libgeos-dev
        libmagick++-dev gsfonts libicu-dev libssl-dev libproj-dev
        libsqlite3-dev libudunits2-dev zlib1g-dev
Repository: https://bioc.r-universe.dev
Date/Publication: 2025-11-28 13:30:27 UTC
RemoteUrl: https://github.com/bioc/DESpace
RemoteRef: HEAD
RemoteSha: 855bfbab3517b98ce09f176301f3a5a128bb4815
NeedsCompilation: no
Packaged: 2026-01-31 09:04:41 UTC; root
Author: Peiying Cai [aut, cre] (ORCID: <https://orcid.org/0009-0001-9229-2244>),
  Simone Tiberi [aut] (ORCID: <https://orcid.org/0000-0002-3054-9964>)
Maintainer: Peiying Cai <peiying.cai@uzh.ch>
Built: R 4.6.0; ; 2026-01-31 09:07:44 UTC; windows
