Package: sosta 0.99.5

Samuel Gunz

sosta: A package for the analysis of anatomical tissue structures in spatial omics data

sosta (Spatial Omics STructure Analysis) is a package for analyzing spatial omics data to explore tissue organization at the anatomical structure level. It reconstructs morphologically relevant structures based on molecular features or cell types. It further calculates a range of structural and shape metrics to quantitatively describe tissue architecture. The package is designed to integrate with other packages for the analysis of spatial (omics) data.

Authors:Samuel Gunz [aut, cre], Mark D. Robinson [aut, fnd]

sosta_0.99.5.tar.gz
sosta_0.99.5.zip(r-4.5)sosta_0.99.5.zip(r-4.4)
sosta_0.99.5.tgz(r-4.5-any)sosta_0.99.5.tgz(r-4.4-any)
sosta_0.99.5.tar.gz(r-4.5-noble)sosta_0.99.5.tar.gz(r-4.4-noble)
sosta_0.99.5.tgz(r-4.4-emscripten)
sosta.pdf |sosta.html
sosta/json (API)
NEWS

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

Bug tracker:https://github.com/sgunz/sosta/issues

Pkgdown site:https://sgunz.github.io

Datasets:
  • sostaSPE - Example SpatialExperiment Object with Simulated Tissue Images and Point Patterns

On BioConductor:sosta-0.99.4(bioc 3.21)

softwarespatialtranscriptomicsvisualization

5.68 score 1 stars 1 packages 2 scripts 111 downloads 23 exports 125 dependencies

Last updated 4 days agofrom:3e9e98c29b. Checks:7 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 22 2025
R-4.5-winOKMar 22 2025
R-4.5-macOKMar 22 2025
R-4.5-linuxOKMar 22 2025
R-4.4-winOKMar 22 2025
R-4.4-macOKMar 22 2025
R-4.4-linuxOKMar 22 2025

Exports:assingCellsToStructuresbinaryImageToSFcellTypeProportionscreatePointPatternTissueestimateReconstructionParametersSPEfindIntensityThresholdgetDimXYmeanShapeMetricsminBoundaryDistancesnormalizeCoordinatesreconstructShapeDensityreconstructShapeDensityImagereconstructShapeDensitySPEshapeIntensityImageshapeMetricssimulateTissueBlobsspatialCoords2SFSPE2pppstCalculateCurvaturestCalculateShapeCurlstFeatureAxestotalShapeMetricsxyCoordinates

Dependencies:abindaskpassbase64encBiobaseBiocFileCacheBiocGenericsbitbit64bitopsblobbslibcachemclassclassIntclicolorspacecpp11crayoncurlDBIdbplyrDelayedArraydeldirdigestdplyre1071EBImageevaluatefansifarverfastmapfftwtoolsfilelockfontawesomefsgenericsGenomeInfoDbGenomeInfoDbDataGenomicRangesggplot2gluegoftestgtablehighrhtmltoolshtmlwidgetshttrIRangesisobandjpegjquerylibjsonliteKernSmoothknitrlabelinglatticelifecyclelocfitmagickmagrittrMASSMatrixMatrixGenericsmatrixStatsmemoisemgcvmimemunsellnlmeopensslpatchworkpillarpkgconfigplogrpngpolyclipproxypurrrR6rappdirsRColorBrewerRcppRCurlrjsonrlangrmarkdownRSQLites2S4ArraysS4VectorssassscalessfSingleCellExperimentsmoothrSparseArraySpatialExperimentspatstat.dataspatstat.explorespatstat.geomspatstat.randomspatstat.sparsespatstat.univarspatstat.utilsstringistringrSummarizedExperimentsystensorterratibbletidyrtidyselecttifftinytexUCSC.utilsunitsutf8vctrsviridisLitewithrwkxfunXVectoryaml

Overview of sosta

Rendered fromStructureReconstructionVignette.Rmdusingknitr::rmarkdownon Mar 22 2025.

Last update: 2025-03-21
Started: 2025-03-21

Reconstruction and analysis of pancreatic islets from IMC data

Rendered fromImcDiabetesIsletsVignette.Rmdusingknitr::rmarkdownon Mar 22 2025.

Last update: 2025-03-21
Started: 2025-03-21

Readme and manuals

Help Manual

Help pageTopics
Function to estimate the intensity image of a point pattern.intensityImage
Function to estimate the intensity threshold for the reconstruction of spatial structures.intensityThreshold
Function to assign spatial points to structuresassingCellsToStructures
Converts a binary matrix to an sf polygonbinaryImageToSF
Calculate the proportion of each cell type within spatial structurescellTypeProportions
Create a Point Pattern on a Simulated Tissue ImagecreatePointPatternTissue
Estimate reconstruction parameters from a set of imagesestimateReconstructionParametersSPE
Estimate the intensity threshold for the reconstruction of spatial structuresfindIntensityThreshold
Function to get the dimension based on dim of y axisgetDimXY
Calculate mean shape metrics of a set of polygonsmeanShapeMetrics
Compute minimum boundary distances for each cell within its corresponding image structuresminBoundaryDistances
Function to normalize coordinates between zero and one while keep scalingnormalizeCoordinates
Reconstruct polygon from point pattern densityreconstructShapeDensity
Reconstruct structure from spe object with given image idreconstructShapeDensityImage
Reconstruct structure from spatial experiment object per image idreconstructShapeDensitySPE
Intensity plotshapeIntensityImage
Calculate a set of shape metrics of a polygonshapeMetrics
Simulate Tissue BlobssimulateTissueBlobs
Example SpatialExperiment Object with Simulated Tissue Images and Point PatternssostaSPE
Function to convert spatialCoords to an sf objectspatialCoords2SF
Function to convert spatial coordinates of a 'SpatialExperiment' object to a 'ppp' objectSPE2ppp
Calculate curvature of sf objectstCalculateCurvature
Calculate curl of a polygonstCalculateShapeCurl
Calculate the length of feature axes of an sf polygonstFeatureAxes
Calculate a set of shape metrics of a set of polygonstotalShapeMetrics
Function to extract x y coordinates from binary imagexyCoordinates