Package: spicyR 1.99.11

Ellis Patrick

spicyR: Test Changes in the Co-Localisation of Cell Types Between Groups of Patients

spicyR tests whether the spatial co-localisation of pairs of cell types differs between groups of patients, or is associated with patient outcome, in cell-resolution spatial omics data (imaging mass cytometry, CODEX, MIBI, Xenium, CosMx and others). Its default method, spicyR Cell, counts the cells of one type within a radius of each cell of another and compares the count with its exact expectation under random labelling of the observed cells. Images are combined within patients by a frailty generalised estimating equation, and differences are tested with a small-sample cluster-robust (CR2) variance with patients as the units. Covariates, several conditions, several radii and survival outcomes are supported, and the original image-level test is kept as an option. The computations run in a C++ core shared with the Python package spicyr.

Authors:Nicolas Canete [aut], Ellis Patrick [aut, cre], Sadiq Dohadwalla [aut], Elijah Willie [aut], Nicholas Robertson [ctb], Alex Qin [ctb], Farhan Ameen [ctb], Shreya Rao [ctb]

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

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

Bug tracker:https://github.com/sydneybiox/spicyr/issues

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

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • diabetesData - Imaging mass cytometry of human pancreas in type 1 diabetes
  • spicyTest - Results of the image-level test on diabetesData

On BioConductor:spicyR-1.99.6(bioc 3.24)spicyR-1.24.0(bioc 3.23)

singlecellcellbasedassaysspatialsurvivalcpp

8.15 score 12 stars 1 packages 72 scripts 711 downloads 14 exports 25 dependencies

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

TargetResultTimeFilesSyslog
bioc-checksNOTE234
linux-devel-arm64OK310
linux-devel-x86_64OK403
source / vignettesOK469
linux-release-arm64OK277
linux-release-x86_64OK402
macos-release-arm64OK331
macos-release-x86_64OK810
macos-oldrel-arm64OK240
macos-oldrel-x86_64OK656
windows-devel-arm64OK432
windows-devel-x86_64OK462
windows-release-arm64OK446
windows-release-x86_64OK439
windows-oldrel-x86_64OK426
wasm-releaseOK184

Exports:bindbuildKnnGraphcolTestconvPairsgetPairwisegetPairwisePropgetPropimageCrossPlotkontextualEngineplotImagesignifPlotspicyspicyBoxPlottopPairs

Dependencies:BiocGenericsclicpp11farvergenericsggplot2gluegtableisobandlabelinglatticelifecycleMatrixR6RColorBrewerRcppRcppEigenrlangS4VectorsS7scalessurvivalvctrsviridisLitewithr

The original image-level test in spicyR
Installation | Overview | Example data | Linear modelling | Test for change in localisation for a specific pair of cells | Test for change in localisation for all pairwise cell combinations | Linear modelling for custom metrics | Performing survival analysis | Accounting for tissue inhomogeneity | Mixed effects modelling | Session information | References

Last update: 2026-10-10
Started: 2026-10-02

Introduction to spicyR
Introduction | The data | Testing every pair of cell types | Seeing every pair at once | Looking at one pair | Looking at the images | Tissue compartments | Allocation or count? | Patients with several images | Adjusting for clinical covariates | Which radius? | Is co-localisation associated with survival? | A check you can run | How it works | Small studies | Reporting results | Coming from spicyR 1.x | Python | Session information | References

Last update: 2026-10-09
Started: 2022-11-10