Package: smoppix 1.5.2

Stijn Hawinkel

smoppix: Analyze Single Molecule Spatial Omics Data Using the Probabilistic Index

Test for univariate and bivariate spatial patterns in spatial omics data with single-molecule resolution. The tests implemented allow for analysis of nested designs and are automatically calibrated to different biological specimens. Tests for aggregation, colocalization, gradients and vicinity to cell edge or centroid are provided.

Authors:Stijn Hawinkel [cre, aut]

smoppix_1.5.2.tar.gz
smoppix_1.5.2.zip(r-4.7)smoppix_1.5.2.zip(r-4.6)smoppix_1.5.2.zip(r-4.5)
smoppix_1.5.2.tgz(r-4.6-x86_64)smoppix_1.5.2.tgz(r-4.6-arm64)smoppix_1.5.2.tgz(r-4.5-x86_64)smoppix_1.5.2.tgz(r-4.5-arm64)
smoppix_1.5.2.tar.gz(r-4.7-arm64)smoppix_1.5.2.tar.gz(r-4.7-x86_64)smoppix_1.5.2.tar.gz(r-4.6-arm64)smoppix_1.5.2.tar.gz(r-4.6-x86_64)
smoppix_1.5.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
smoppix/json (API)
NEWS

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

Bug tracker:https://github.com/sthawinke/smoppix/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • Eng - Spatial transcriptomics data of mouse fibroblast cells
  • EngRois - Spatial transcriptomics data of mouse fibroblast cells
  • Yang - Spatial transcriptomics data of Selaginella moellendorffii roots

On BioConductor:smoppix-1.5.2(bioc 3.24)smoppix-1.4.0(bioc 3.23)

transcriptomicsspatialsinglecellcpp

5.50 score 1 stars 1 packages 5 scripts 279 downloads 27 exports 107 dependencies

Last updated from:ed70b1e526. Checks:12 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
bioc-checksNOTE217
linux-devel-arm64NOTE400
linux-devel-x86_64NOTE516
source / vignettesOK483
linux-release-arm64NOTE451
linux-release-x86_64NOTE501
macos-release-arm64NOTE423
macos-release-x86_64NOTE895
macos-oldrel-arm64NOTE377
macos-oldrel-x86_64NOTE607
windows-develNOTE1712
windows-releaseNOTE1677
windows-oldrelNOTE1797
wasm-releaseOK210

Exports:addCelladdNucleiaddWeightFunctionbuildDataFramebuildHyperFramecenterNumericestGradientsestPisevalWeightFunctionfindOverlapfitLMMsgetFeaturesgetGpgetPvaluesGradientgetResultslm_from_wfitloadBalanceBplapplymakePairsnamed.contr.sumplotCellsplotExploreplotTopResultsplotWfpnhyperselfNamesundwriteToXlsx

Dependencies:abindaskpassBHBiobaseBiocFileCacheBiocGenericsBiocParallelbitbit64blobbootcachemclicodetoolscpp11curlDBIdbplyrDelayedArraydeldirdplyrfarverfastmapfilelockformatRfutile.loggerfutile.optionsgenericsGenomicRangesggplot2gluegoftestgtablehttr2IRangesisobandlabelinglambda.rlatticelifecyclelme4lmerTestmagickmagrittrMASSMatrixMatrixGenericsmatrixStatsmemoisemgcvminqanlmenloptrnumDerivopensslopenxlsxpillarpkgconfigpolyclippurrrR6rappdirsrbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRcppParallelRdpackreformulasRfastrjsonrlangrpartRSQLiteS4ArraysS4VectorsS7scalesSeqinfoSingleCellExperimentsnowSparseArraySpatialExperimentspatstat.dataspatstat.explorespatstat.geomspatstat.modelspatstat.randomspatstat.sparsespatstat.univarspatstat.utilsstringistringrSummarizedExperimentsystensortibbletidyrtidyselectutf8vctrsviridisLitewithrXVectorziggzip

Vignette of the smoppix package

Rendered fromsmoppixVignette.Rmdusingknitr::rmarkdownon Jun 09 2026.

Last update: 2026-05-21
Started: 2024-02-20

Readme and manuals

Help Manual

Help pageTopics
Add cell boundaries and event-wise cell identifiers to a hyperframe.addCell
Add design variables to hyperframeaddDesign
Add nuclei to a hyperframeaddNuclei
Add tables with gene counts to the hyperframe, presort by gene and x-ccordinate and add design varibalesaddTabObs
Extract a data frame for a certain gene and PI from a fitted objectbuildDataFrame
Build a formula from different componentsbuildFormula
Build a hyperframe containing all point patterns of an experiment.buildHyperFrame buildHyperFrame,data.frame-method buildHyperFrame,list-method buildHyperFrame,matrix-method buildHyperFrame,SpatialExperiment-method
Calculate individual PI entries of a single point patterncalcIndividualPIs
Estimate the PI for nearest neighbour distances with the negative hypergeometric distributioncalcNNPI
Estimate the PI for the distance to a fixed object of interest, such as a cell wall or centroidcalcWindowDistPI
Center numeric variablescenterNumeric
Check if features are present in hyperframecheckFeatures
Check if the required PI's are present in the objectcheckPi
Check for or construct design matrixconstructDesignVars
Convert windows to spatstat.geom owin formatconvertToOwins
A wrapper for C-functions calculating cross-distance matrix fastcrossdistWrapper
Spatial transcriptomics data of mouse fibroblast cellsEng EngRois
Estimate gradients over multiple point patterns, and test for significanceestGradients estGradientsSingle getPvaluesGradient
Estimate probabilistic indices and add a variance weighting function.addWeightFunction estPis estPisSingle
Evaluate a variance weighting functionevalWeightFunction
Extract results from a list of fitted LMMs. For internal use mainly.extractResults
Construct empirical cumulative distribution functions (ecdfs) for within-cell distancesfindEcdfsCell
Find overlap between list of windowsfindOverlap
Test for presence of gradient in a hyperframe of point patternsfitGradient
Fit linear (mixed) models for all probabilistic indices (PIs) and all genesfitLMMs fitLMMsSingle getResults
Fit a linear model for an individual gene and PI combinationfitPiModel
Take an existing frame, add outcome and weight and fit lmer modelfitSingleLmmModel
Extract coordinates from a point pattern or data framegetCoordsMat
Extract design variables from a hyperframegetDesignVars getEventVars getPPPvars
Extract en element from a matrix or vectorgetElement
Extract all unique and estimated features from an objectgetFeatures
Get a gene pair from a vector or listgetGp
Extract the hyperframegetHypFrame
Build a matrix with pi and weightsgetPiAndWeights
Add compoments to a result from lm.wfit to make it a minimally valid lm objectlm_from_wfit
Parallel processing with BiocParallel with load balancingloadBalanceBplapply
Make design variable by combining different design variablesmakeDesignVar
An aux function to build gene pairsmakePairs
A version of contr.sum that retains names, a bit controversial but also clearernamed.contr.sum
Negative hypergeometric distribution (taken from orphaned extraDistr package)NegHyper pnhyper
Nest random effects within fixed variables, in case the names are the samenestRandom
Plot the n cells with highest abundance of a featureplotCells
Plot a hyperframe with chosen features highlightedplotExplore
Plot the most significant findings for a certain PIplotTopResults
Plot the variance weighting functionplotWf
Name a character vector after itselfselfName
Sort feature pairs alphabeticallysortGp
Split a number of plots into rows and columnssplitWindow
Subsample a point pattern when it is too largesubSampleP
Helper function to spit gene pairssund
Write effect sizes and p-values results to an excel worksheetwriteToXlsx
Spatial transcriptomics data of Selaginella moellendorffii rootsYang