{
  "_id": "6a1f285eb401979e734232bf",
  "Package": "sosta",
  "Title": "A package for the analysis of anatomical tissue structures in\nspatial omics data",
  "Version": "1.5.1",
  "Authors@R": "c(\nperson(\"Samuel\", \"Gunz\", , \"samuel.gunz@uzh.ch\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-8909-0932\")),\nperson(\"Mark D.\", \"Robinson\", role=c(\"aut\", \"fnd\"),\nemail=\"mark.robinson@mls.uzh.ch\"))",
  "Description": "sosta (Spatial Omics STructure Analysis) is a package for\nanalyzing spatial omics data to explore tissue organization at\nthe anatomical structure level. It reconstructs anatomically\nrelevant structures based on molecular features or cell types.\nIt further calculates a range of metrics at the structure level\nto quantitatively describe tissue architecture. The package is\ndesigned to integrate with other packages for the analysis of\nspatial omics data.",
  "License": "GPL (>= 3) + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "URL": "https://github.com/sgunz/sosta, https://sgunz.github.io/sosta/",
  "BugReports": "https://github.com/sgunz/sosta/issues",
  "biocViews": "Software, Spatial, Transcriptomics, Visualization",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "Config/pak/sysreqs": "libabsl-dev cmake libfftw3-dev libgdal-dev gdal-bin\nlibgeos-dev make libmagick++-dev gsfonts libicu-dev libjpeg-dev\nlibpng-dev libtiff-dev libuv1-dev libssl-dev libproj-dev\nlibsqlite3-dev libudunits2-dev zlib1g-dev",
  "Repository": "https://bioc.r-universe.dev",
  "Date/Publication": "2026-06-02 12:13:50 UTC",
  "RemoteUrl": "https://github.com/bioc/sosta",
  "RemoteRef": "HEAD",
  "RemoteSha": "0c7092a6aff3827fe98f22afa5ba220097f0b43b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 18:49:48 UTC",
    "User": "root"
  },
  "Author": "Samuel Gunz [aut, cre] (ORCID: <https://orcid.org/0000-0002-8909-0932>),\nMark D. Robinson [aut, fnd]",
  "Maintainer": "Samuel Gunz <samuel.gunz@uzh.ch>",
  "MD5sum": "433f8d7c769844dd2907cebf8eecb14e",
  "_user": "bioc",
  "_type": "src",
  "_file": "sosta_1.5.1.tar.gz",
  "_fileid": "a1de8e2f2673ce024cbae4442000a9ce8d10a41874f0809c079e2169ae58c67d",
  "_filesize": 6116874,
  "_sha256": "a1de8e2f2673ce024cbae4442000a9ce8d10a41874f0809c079e2169ae58c67d",
  "_created": "2026-06-02T18:49:48.000Z",
  "_published": "2026-06-02T19:00:46.664Z",
  "_jobs": [
    {
      "job": 79147971413,
      "time": 236,
      "config": "bioc-checks",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7367038556"
    },
    {
      "job": 79147971357,
      "time": 461,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7367119333"
    },
    {
      "job": 79147971382,
      "time": 442,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367112490"
    },
    {
      "job": 79147971390,
      "time": 259,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7367116830"
    },
    {
      "job": 79147971356,
      "time": 345,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367153849"
    },
    {
      "job": 79146435924,
      "time": 491,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7366950762"
    },
    {
      "job": 79147971374,
      "time": 175,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367015666"
    },
    {
      "job": 79147971411,
      "time": 292,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7367060788"
    },
    {
      "job": 79147971485,
      "time": 390,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7367092947"
    },
    {
      "job": 79147971379,
      "time": 369,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367086208"
    }
  ],
  "_bioccheck": {
    "error": 0,
    "warning": 0,
    "note": 9
  },
  "_buildurl": "https://github.com/r-universe/bioc/actions/runs/26840611215",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/bioc/sosta",
  "_commit": {
    "id": "0c7092a6aff3827fe98f22afa5ba220097f0b43b",
    "author": "sgunz <samuel.gunz@uzh.ch>",
    "committer": "sgunz <samuel.gunz@uzh.ch>",
    "message": "version bump\n",
    "time": 1780402430
  },
  "_maintainer": {
    "name": "Samuel Gunz",
    "email": "samuel.gunz@uzh.ch",
    "login": "sgunz",
    "orcid": "0000-0002-8909-0932",
    "description": "PhD Student in Statistical Bioinformatics @robinsonlabuzh ",
    "uuid": 24435148
  },
  "_distro": "noble",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.4.0",
      "role": "Depends"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "smoothr",
      "role": "Imports"
    },
    {
      "package": "spatstat.explore",
      "role": "Imports"
    },
    {
      "package": "spatstat.geom",
      "role": "Imports"
    },
    {
      "package": "SpatialExperiment",
      "role": "Imports"
    },
    {
      "package": "SingleCellExperiment",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "role": "Imports"
    },
    {
      "package": "SummarizedExperiment",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "EBImage",
      "role": "Imports"
    },
    {
      "package": "spatstat.random",
      "role": "Imports"
    },
    {
      "package": "S4Vectors",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "BiocStyle",
      "role": "Suggests"
    },
    {
      "package": "ExperimentHub",
      "role": "Suggests"
    },
    {
      "package": "lme4",
      "role": "Suggests"
    },
    {
      "package": "lmerTest",
      "role": "Suggests"
    },
    {
      "package": "ggfortify",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "bioc",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-29",
      "n": 2
    },
    {
      "week": "2025-35",
      "n": 1
    },
    {
      "week": "2025-42",
      "n": 2
    },
    {
      "week": "2025-43",
      "n": 3
    },
    {
      "week": "2025-44",
      "n": 2
    },
    {
      "week": "2026-13",
      "n": 5
    },
    {
      "week": "2026-18",
      "n": 2
    },
    {
      "week": "2026-23",
      "n": 2
    }
  ],
  "_tags": [],
  "_bioc": [
    {
      "branch": "devel",
      "version": "1.5.0",
      "bioc": "3.24"
    },
    {
      "branch": "release",
      "version": "1.4.0",
      "bioc": "3.23"
    }
  ],
  "_topics": [
    "software",
    "spatial",
    "transcriptomics",
    "visualization"
  ],
  "_stars": 7,
  "_contributors": [
    {
      "user": "sgunz",
      "count": 99,
      "uuid": 24435148
    },
    {
      "user": "jwokaty",
      "count": 6,
      "uuid": 1744257
    },
    {
      "user": "markrobinsonuzh",
      "count": 5,
      "uuid": 6471769
    },
    {
      "user": "hpages",
      "count": 1,
      "uuid": 8810451
    }
  ],
  "_userbio": {
    "uuid": 2286807,
    "type": "organization",
    "name": "Bioconductor",
    "description": "Software for the analysis and comprehension of high-throughput genomic data"
  },
  "_downloads": {
    "count": 258,
    "source": "https://www.bioconductor.org/packages/stats/bioc/sosta"
  },
  "_devurl": "https://github.com/sgunz/sosta",
  "_pkgdown": "https://sgunz.github.io/sosta/",
  "_searchresults": 14,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sosta.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/sgunz/sosta",
  "_realowner": "bioc",
  "_cranurl": false,
  "_exports": [
    ".df2ppp",
    ".intensityImage",
    ".intensityThreshold",
    ".SPE2df",
    "assingCellsToStructures",
    "binaryImageToSF",
    "cellTypeProportions",
    "createPointPatternTissue",
    "estimateReconstructionParametersSPE",
    "findIntensityThreshold",
    "getDimXY",
    "meanShapeMetrics",
    "minBoundaryDistances",
    "minCellTypeStructDist",
    "normalizeCoordinates",
    "reconstructShapeDensity",
    "reconstructShapeDensityImage",
    "reconstructShapeDensitySPE",
    "shapeIntensityImage",
    "shapeMetrics",
    "simulateTissueBlobs",
    "spatialCoords2SF",
    "SPE2ppp",
    "stCalculateCurvature",
    "stCalculateShapeCurl",
    "stFeatureAxes",
    "totalShapeMetrics",
    "xyCoordinates"
  ],
  "_datasets": [
    {
      "name": "sostaSPE",
      "title": "Example SpatialExperiment Object with Simulated Tissue Images and Point Patterns",
      "object": "sostaSPE",
      "class": [
        "SpatialExperiment"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "dot-df2ppp",
      "title": "Function to convert 'data.frame' to 'ppp' object",
      "topics": [
        ".df2ppp"
      ]
    },
    {
      "page": "dot-intensityImage",
      "title": "Function to estimate the intensity image of a point pattern",
      "topics": [
        ".intensityImage"
      ]
    },
    {
      "page": "dot-intensityThreshold",
      "title": "Function to estimate the intensity threshold for the reconstruction of spatial structures",
      "topics": [
        ".intensityThreshold"
      ]
    },
    {
      "page": "dot-SPE2df",
      "title": "Function to convert 'SpatialExperiment' object to a data frame",
      "topics": [
        ".SPE2df"
      ]
    },
    {
      "page": "assingCellsToStructures",
      "title": "Function to assign points / coordinates to structures",
      "topics": [
        "assingCellsToStructures"
      ]
    },
    {
      "page": "binaryImageToSF",
      "title": "Converts a binary matrix to an sf polygon",
      "topics": [
        "binaryImageToSF"
      ]
    },
    {
      "page": "cellTypeProportions",
      "title": "Calculate the proportion of each cell type within spatial structures",
      "topics": [
        "cellTypeProportions"
      ]
    },
    {
      "page": "createPointPatternTissue",
      "title": "Create a Point Pattern on a Simulated Tissue Image",
      "topics": [
        "createPointPatternTissue"
      ]
    },
    {
      "page": "estimateReconstructionParametersSPE",
      "title": "Estimate reconstruction parameters from a set of images",
      "topics": [
        "estimateReconstructionParametersSPE"
      ]
    },
    {
      "page": "findIntensityThreshold",
      "title": "Estimate the intensity threshold for the reconstruction of spatial structures",
      "topics": [
        "findIntensityThreshold"
      ]
    },
    {
      "page": "getDimXY",
      "title": "Function to get the dimension based on dim of y axis",
      "topics": [
        "getDimXY"
      ]
    },
    {
      "page": "meanShapeMetrics",
      "title": "Calculate mean shape metrics of a set of polygons",
      "topics": [
        "meanShapeMetrics"
      ]
    },
    {
      "page": "minBoundaryDistances",
      "title": "Compute minimum boundary distances for each cell within its corresponding image structures",
      "topics": [
        "minBoundaryDistances"
      ]
    },
    {
      "page": "minCellTypeStructDist",
      "title": "Compute minimum distances from each cell types to structure boundaries per structure",
      "topics": [
        "minCellTypeStructDist"
      ]
    },
    {
      "page": "normalizeCoordinates",
      "title": "Function to normalize coordinates between zero and one while keep scaling",
      "topics": [
        "normalizeCoordinates"
      ]
    },
    {
      "page": "reconstructShapeDensity",
      "title": "Reconstruct polygon from point pattern density",
      "topics": [
        "reconstructShapeDensity"
      ]
    },
    {
      "page": "reconstructShapeDensityImage",
      "title": "Reconstruct structure from spe object with given image id",
      "topics": [
        "reconstructShapeDensityImage"
      ]
    },
    {
      "page": "reconstructShapeDensitySPE",
      "title": "Reconstruct structure from spatial experiment object per image id",
      "topics": [
        "reconstructShapeDensitySPE"
      ]
    },
    {
      "page": "shapeIntensityImage",
      "title": "Intensity plot",
      "topics": [
        "shapeIntensityImage"
      ]
    },
    {
      "page": "shapeMetrics",
      "title": "Calculate a set of shape metrics of a single polygon",
      "topics": [
        "shapeMetrics"
      ]
    },
    {
      "page": "simulateTissueBlobs",
      "title": "Simulate Tissue Blobs",
      "topics": [
        "simulateTissueBlobs"
      ]
    },
    {
      "page": "sostaSPE",
      "title": "Example SpatialExperiment Object with Simulated Tissue Images and Point Patterns",
      "topics": [
        "sostaSPE"
      ]
    },
    {
      "page": "spatialCoords2SF",
      "title": "Function to convert spatialCoords to an sf object",
      "topics": [
        "spatialCoords2SF"
      ]
    },
    {
      "page": "SPE2ppp",
      "title": "Function to convert spatial coordinates of a 'SpatialExperiment' object to a 'ppp' object",
      "topics": [
        "SPE2ppp"
      ]
    },
    {
      "page": "stCalculateCurvature",
      "title": "Calculate curvature of sf object",
      "topics": [
        "stCalculateCurvature"
      ]
    },
    {
      "page": "stCalculateShapeCurl",
      "title": "Calculate curl of a polygon",
      "topics": [
        "stCalculateShapeCurl"
      ]
    },
    {
      "page": "stFeatureAxes",
      "title": "Calculate the length of feature axes of a single sf polygon",
      "topics": [
        "stFeatureAxes"
      ]
    },
    {
      "page": "totalShapeMetrics",
      "title": "Calculate a set of shape metrics of a set of polygons",
      "topics": [
        "totalShapeMetrics"
      ]
    },
    {
      "page": "xyCoordinates",
      "title": "Function to extract x y coordinates from binary image",
      "topics": [
        "xyCoordinates"
      ]
    }
  ],
  "_readme": "https://github.com/bioc/sosta/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "askpass",
    "base64enc",
    "Biobase",
    "BiocFileCache",
    "BiocGenerics",
    "bit",
    "bit64",
    "bitops",
    "blob",
    "bslib",
    "cachem",
    "class",
    "classInt",
    "cli",
    "cpp11",
    "curl",
    "DBI",
    "dbplyr",
    "DelayedArray",
    "deldir",
    "digest",
    "dplyr",
    "e1071",
    "EBImage",
    "evaluate",
    "farver",
    "fastmap",
    "fftwtools",
    "filelock",
    "fontawesome",
    "fs",
    "generics",
    "GenomicRanges",
    "ggplot2",
    "glue",
    "goftest",
    "gtable",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httr2",
    "IRanges",
    "isoband",
    "jpeg",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "locfit",
    "magick",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixGenerics",
    "matrixStats",
    "memoise",
    "mime",
    "nlme",
    "openssl",
    "patchwork",
    "pillar",
    "pkgconfig",
    "png",
    "polyclip",
    "proxy",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RCurl",
    "rjson",
    "rlang",
    "rmarkdown",
    "RSQLite",
    "s2",
    "S4Arrays",
    "S4Vectors",
    "S7",
    "sass",
    "scales",
    "Seqinfo",
    "sf",
    "SingleCellExperiment",
    "smoothr",
    "SparseArray",
    "SpatialExperiment",
    "spatstat.data",
    "spatstat.explore",
    "spatstat.geom",
    "spatstat.random",
    "spatstat.sparse",
    "spatstat.univar",
    "spatstat.utils",
    "stringi",
    "stringr",
    "SummarizedExperiment",
    "sys",
    "tensor",
    "terra",
    "tibble",
    "tidyr",
    "tidyselect",
    "tiff",
    "tinytex",
    "units",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "wk",
    "xfun",
    "XVector",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "StructureReconstructionVignette.Rmd",
      "filename": "StructureReconstructionVignette.html",
      "title": "01 -- Overview of sosta",
      "author": "Samuel Gunz, Mark D. Robinson",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Installation",
        "Setup",
        "Introduction",
        "Structure reconstruction",
        "Reconstruction of structures for one image",
        "Reconstruction of structures for all images",
        "Intersection with cells",
        "Structure level metrics",
        "Proportion of cell types within structures",
        "Shape Metrics",
        "Cell level metrics",
        "Distance to structure border",
        "Structure boundary vs FOV boundary",
        "Session Info",
        "References"
      ],
      "created": "2025-03-21 14:24:39",
      "modified": "2026-03-23 09:21:38",
      "commits": 5
    },
    {
      "source": "ImcDiabetesIsletsVignette.Rmd",
      "filename": "ImcDiabetesIsletsVignette.html",
      "title": "02 -- Reconstruction and analysis of pancreatic islets from IMC data",
      "author": "Samuel Gunz, Mark D. Robinson",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Installation",
        "Setup",
        "Introduction",
        "Reconstruction of pancreatic islets",
        "Reconstruction of pancreatic islets for one image",
        "Reconstruction of pancreatic islets for all images",
        "Calculation of metrics",
        "Structure metrics",
        "Investigate metrics",
        "Plot structure metrics",
        "Testing using mixed effects models",
        "Model diagnostics",
        "Session Info",
        "References"
      ],
      "created": "2025-03-21 14:24:39",
      "modified": "2025-04-14 14:13:00",
      "commits": 6
    }
  ],
  "_score": 6.3714373174041015,
  "_indexed": true,
  "_nocasepkg": "sosta",
  "_universes": [
    "bioc",
    "sgunz"
  ],
  "_previous": "1.5.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.1",
      "date": "2026-06-02T18:53:40.000Z",
      "distro": "noble",
      "commit": "0c7092a6aff3827fe98f22afa5ba220097f0b43b",
      "fileid": "333aa74fd402b493c227f704a79b694646c17a1917ab768e6d0630303983ebdc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/26840611215"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.5.1",
      "date": "2026-06-02T18:53:44.000Z",
      "distro": "noble",
      "commit": "0c7092a6aff3827fe98f22afa5ba220097f0b43b",
      "fileid": "20fab666a82d769fcb23f59594d1e336096d5d5fb0f170b9d4e6786adb6a4ee4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/26840611215"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.1",
      "date": "2026-06-02T18:55:34.000Z",
      "commit": "0c7092a6aff3827fe98f22afa5ba220097f0b43b",
      "fileid": "13e3135cf9a0cc636b60a06ecbe8ccf424b42b1314b3775af50ec3f083b05dda",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/26840611215"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.5.1",
      "date": "2026-06-02T18:56:14.000Z",
      "commit": "0c7092a6aff3827fe98f22afa5ba220097f0b43b",
      "fileid": "871d21919c35d5e95ca4922e117c7897c6155964313dd08a84af734106ce44ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/26840611215"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.1",
      "date": "2026-06-02T18:53:33.000Z",
      "commit": "0c7092a6aff3827fe98f22afa5ba220097f0b43b",
      "fileid": "5bb2b4d1b9fd3a4378c065fd9fe03ed6564608e0177723011d816c74d68d64d6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/26840611215"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.1",
      "date": "2026-06-02T18:52:14.000Z",
      "commit": "0c7092a6aff3827fe98f22afa5ba220097f0b43b",
      "fileid": "bdb7d0677f3c70b502f3cb28c70eeabd5773c6e0cf38ba91e7021715fae357b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/26840611215"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.1",
      "date": "2026-06-02T18:52:18.000Z",
      "commit": "0c7092a6aff3827fe98f22afa5ba220097f0b43b",
      "fileid": "e9d92e1551562d35c70023c76c122a3651492082fb6d4a216634f5930912673b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/26840611215"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.5.1",
      "date": "2026-06-02T18:52:02.000Z",
      "commit": "0c7092a6aff3827fe98f22afa5ba220097f0b43b",
      "fileid": "3a4188d5db8f48c3337f324a79770cce7286f9d874b6996d18253bfddb942f24",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bioc/actions/runs/26840611215"
    }
  ]
}