Skip to content

SpatialFeatureExperiment

Bioc current

Integrating SpatialExperiment with Simple Features in sf

v1.14.0 · software · Artistic-2.0

Release Lineage

Entered 3.16 · Nov 2, 2022

Current · Requires R 4.6

1.0 In 8 of 49 releases 3.23

Description

A new S4 class integrating Simple Features with the R package sf to bring geospatial data analysis methods based on vector data to spatial transcriptomics. Also implements management of spatial neighborhood graphs and geometric operations. This pakage builds upon SpatialExperiment and SingleCellExperiment, hence methods for these parent classes can still be used.

Test coverage

Line coverage

Expression

Tests / Examples

Functions

285 109 exported

Complexity

4.5 avg / 71 max

Call network

285 nodes / 343 edges

Test coverage is not measured for Bioconductor packages; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

24,144

Files

230

Compiled share

0%

Has compiled src

No

Language breakdown

R 11,924 (49.4%)Tests 6,023 (24.9%)Docs 5,577 (23.1%)Vignettes 620 (2.6%)

API

Exported functions

171

Internal functions

170

Recent export changes

v3.23+3 .check_tx_file, .check_tx_file_mem, rotateMinRect
v3.22+4 findDebrisCells, getTissueBoundaryConcave, getTissueBoundaryImg +1 more  −1 listw2sparse

Testing & CI

Has tests

Yes

Test-to-code ratio

0.51

testthat edition

3

CI present

Yes

CI type

["github-actions"]

PR gated

Yes

Docs

Roxygen coverage

100%

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

8%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.3.0

System requirements

C++ standard

License

Artistic-2.0

License flags

SPDX valid, OSI approved

History

Versions

8

First release

2023-02-07

Latest release

2026-04-28

Avg cadence

175 days

Cold removal rate

0%

Dep drift

13

LOC over versions

v3.16: 9,055 LOCv3.17: 11,590 LOCv3.18: 11,591 LOCv3.19: 20,222 LOCv3.20: 22,575 LOCv3.21: 22,803 LOCv3.22: 23,454 LOCv3.23: 24,144 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/bioc-code-metrics.

Documentation

Documentation
READMEYes · 697 wordsVignettesYes · dynamicpkgdown siteYesNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
97%
Return-value docs
96%
References docs
0%

Topics

Depended on by (10)

People

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("SpatialFeatureExperiment")
Moses, L., Huseynov, A., & Pachter, L. (2026). SpatialFeatureExperiment: Integrating SpatialExperiment with Simple Features in sf (Version 1.14.0) [Computer software]. https://bioconductor.org/packages/SpatialFeatureExperiment

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for SpatialFeatureExperiment version 1.14.0 [Data set]. HJJB, LLC. Data release v2026-08-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy