Package: PACE 0.99.20

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], Australian Government Research Training Program [fnd]

PACE_0.99.20.tar.gz
PACE_0.99.20.zip(r-4.7-x86_64)PACE_0.99.20.zip(r-4.7-arm64)PACE_0.99.20.zip(r-4.6-x86_64)PACE_0.99.20.zip(r-4.6-arm64)PACE_0.99.20.zip(r-4.5-x86_64)
PACE_0.99.20.tgz(r-4.6-x86_64)PACE_0.99.20.tgz(r-4.6-arm64)PACE_0.99.20.tgz(r-4.5-x86_64)PACE_0.99.20.tgz(r-4.5-arm64)
PACE_0.99.20.tar.gz(r-4.7-arm64)PACE_0.99.20.tar.gz(r-4.7-x86_64)PACE_0.99.20.tar.gz(r-4.6-arm64)PACE_0.99.20.tar.gz(r-4.6-x86_64)
PACE_0.99.20.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://bioc.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 29 exports 107 dependencies

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

TargetResultTimeFilesSyslog
bioc-checksNOTE250
linux-devel-arm64OK457
linux-devel-x86_64OK620
source / vignettesOK504
linux-release-arm64OK473
linux-release-x86_64OK609
macos-release-arm64OK470
macos-release-x86_64OK854
macos-oldrel-arm64OK342
macos-oldrel-x86_64OK1066
windows-devel-arm64OK640
windows-devel-x86_64OK591
windows-release-arm64OK644
windows-release-x86_64OK651
windows-oldrel-x86_64OK608
wasm-releaseOK197

Exports:ambientFieldanchorGenesbuildNeighbourhoodcellContaminationcellTypescompactFitfitStateneighbourSlopesneighbourSlopes<-paceDecomposepaceDriverspaceFitpaceModelpaceModelGaussianpaceParamspaceShrinkpairVarianceplotDecompositionplotDriversplotPairHeatmapplotProximityplotResponseCurveplotResponseMapshowstashPACEtopDriverstopDrivers<-varianceDecompositionvarianceDecomposition<-

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-14
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 | Keeping results with the data | Saving a fit | Session info

Last update: 2026-10-14
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
Cell types modelledcellTypes cellTypes,PACEFit-method
Drop the per-cell matrices from a fitcompactFit
Raw solver statefitState fitState,PACEFit-method
Shrunken neighbour proximity slopesneighbourSlopes neighbourSlopes,PACEFit-method neighbourSlopes<- 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
Fitting parameterspaceParams paceParams,PACEFit-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
Stash PACE readouts in a SpatialExperimentstashPACE
Per-pair driver tablestopDrivers topDrivers,PACEFit-method topDrivers<- topDrivers<-,PACEFit-method
Per-gene variance decompositionvarianceDecomposition varianceDecomposition,PACEFit-method varianceDecomposition<- varianceDecomposition<-,PACEFit-method