Package: PACE 0.99.11

Elijah Willie

PACE: Proximity-Associated Changes in Expression for Spatial Transcriptomics

PACE (Proximity-Associated Changes in Expression) is a hierarchical empirical Bayes framework that quantifies how a cell's gene expression changes with proximity to specific neighbouring cell types in imaging-based spatial transcriptomics such as Xenium and CosMx. It fits negative binomial mixed models with partial pooling across cell types, corrects for transcript contamination between adjacent cells with a per-cell ambient term, and decomposes expression variance into cell-type identity, spatial cell state, contamination, and residual components. Input and output follow SpatialExperiment conventions.

Authors:Elijah Willie [aut, cre], Shreya Rajesh Rao [aut], John Ormerod [aut], Ellis Patrick [aut]

PACE_0.99.11.tar.gz
PACE_0.99.11.zip(r-4.7-x86_64)PACE_0.99.11.zip(r-4.7-arm64)PACE_0.99.11.zip(r-4.6-x86_64)PACE_0.99.11.zip(r-4.6-arm64)PACE_0.99.11.zip(r-4.5-x86_64)
PACE_0.99.11.tgz(r-4.6-x86_64)PACE_0.99.11.tgz(r-4.6-arm64)PACE_0.99.9.tgz(r-4.5-arm64)PACE_0.99.11.tgz(r-4.5-x86_64)
PACE_0.99.11.tar.gz(r-4.7-arm64)PACE_0.99.11.tar.gz(r-4.7-x86_64)PACE_0.99.11.tar.gz(r-4.6-arm64)PACE_0.99.11.tar.gz(r-4.6-x86_64)
PACE_0.99.11.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
PACE/json (API)

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

Bug tracker:https://github.com/ecool50/pace/issues

Pkgdown/docs site:https://ecool50.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

spatialtranscriptomicsgeneexpressionsinglecellregressionbayesiandifferentialexpressionsoftwarecpp

3.85 score 5 scripts 10 downloads 21 exports 107 dependencies

Last updated from:ec3fa3d272. Checks:1 NOTE, 15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
bioc-checksNOTE242
linux-devel-arm64OK451
linux-devel-x86_64OK653
source / vignettesOK1097
linux-release-arm64OK446
linux-release-x86_64OK430
macos-release-arm64OK336
macos-release-x86_64OK821
macos-oldrel-arm64OK551
macos-oldrel-x86_64OK982
windows-devel-arm64OK606
windows-devel-x86_64OK664
windows-release-arm64OK795
windows-release-x86_64OK606
windows-oldrel-x86_64OK596
wasm-releaseOK203

Exports:ambientFieldanchorGenesbuildNeighbourhoodcellContaminationneighbourSlopespaceDecomposepaceDriverspaceFitpaceModelpaceModelGaussianpaceShrinkpairVarianceplotDecompositionplotDriversplotPairHeatmapplotProximityplotResponseCurveplotResponseMapshowtopDriversvarianceDecomposition

Dependencies:abindashraskpassassertthatBHBiobaseBiocFileCacheBiocGenericsBiocParallelbitbit64blobbootcachemclicodetoolscpp11curlDBIdbplyrdbscanDelayedArraydeldirdplyretrunctfarverfastmapfilelockformatRfutile.loggerfutile.optionsgenericsGenomicRangesggplot2gluegtablehttr2invgammaIRangesirlbaisobandlabelinglambda.rlatticelifecyclelme4magickmagrittrmashrMASSMatrixMatrixGenericsmatrixStatsmemoiseminqamixsqpmvtnormnlmenloptropensslpatchworkpillarpkgconfigplyrpolyclippurrrR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRcppGSLRdpackreformulasrjsonrlangrmetaRSQLiteS4ArraysS4VectorsS7scalesSeqinfoSingleCellExperimentsnowsoftImputeSparseArraySpatialExperimentspatstat.dataspatstat.geomspatstat.univarspatstat.utilsSQUAREMstringistringrSummarizedExperimentsystibbletidyrtidyselecttruncnormutf8vctrsviridisLitewithrXVector

Comparing proximity effects between conditions
Introduction | The melanoma subset | Fitting with a condition | The responder block in the decomposition | Which pairs carry the condition difference | The genes that carry it | Session info

Last update: 2026-10-13
Started: 2026-09-09

PACE package manual
Installation | Introduction | Overview of the PACE workflow | The breast cancer dataset | Fitting the model | The pipeline step by step | Variance decomposition | Per-cell contamination | Pairwise spatial interactions | Macrophage–tumour drivers | Visualising the proximity effect | Biological interpretation | Saving a fit | Session info

Last update: 2026-10-06
Started: 2026-07-07

Readme and manuals

Help Manual

Help pageTopics
Build the ambient contamination fieldambientField ambientField,SpatialExperiment-method
Contamination anchor genes per cell typeanchorGenes
Build the neighbourhood kernelsbuildNeighbourhood buildNeighbourhood,SpatialExperiment-method
Per-cell contaminationcellContamination cellContamination,PACEFit-method
Shrunken neighbour proximity slopesneighbourSlopes neighbourSlopes,PACEFit-method
Variance decompositionpaceDecompose paceDecompose,PACEFit-method
Per-pair driver scorespaceDrivers paceDrivers,PACEFit-method
Fit a PACE model to a SpatialExperimentpaceFit paceFit,SpatialExperiment-method
PACEFit: a fitted PACE modelPACEFit PACEFit-class show,PACEFit-method
Fit the PACE modelpaceModel paceModel,SpatialExperiment-method
Fit the PACE model to continuous intensitiespaceModelGaussian paceModelGaussian,SpatialExperiment-method
Shrink the neighbour slopespaceShrink paceShrink,PACEFit-method
Pairwise spatial variance tablepairVariance pairVariance,PACEFit-method
Per-focal variance decomposition plotplotDecomposition
Per-pair driver compositeplotDrivers
Pairwise spatial-percent heatmapplotPairHeatmap
Expression versus number of neighbours (per-bin boxplot)plotProximity
Response curve: binned means with the PACE slope overlaidplotResponseCurve
Tissue maps and scatters for one exemplar image per armplotResponseMap
Per-pair driver tablestopDrivers topDrivers,PACEFit-method
Per-gene variance decompositionvarianceDecomposition varianceDecomposition,PACEFit-method