Skip to content

hoodscanR

Bioc current

Spatial cellular neighbourhood scanning in R

v1.10.0 · software · GPL-3 + file LICENSE

Release Lineage

Entered 3.18 · Oct 25, 2023

Current · Requires R 4.6

1.0 In 6 of 49 releases 3.23

Description

hoodscanR is an user-friendly R package providing functions to assist cellular neighborhood analysis of any spatial transcriptomics data with single-cell resolution. All functions in the package are built based on the SpatialExperiment object, allowing integration into various spatial transcriptomics-related packages from Bioconductor. The package can result in cell-level neighborhood annotation output, along with funtions to perform neighborhood colocalization analysis and neighborhood-based cell clustering.

Test coverage

Line coverage

Expression

Tests / Examples

Functions

28 8 exported

Complexity

3.3 avg / 16 max

Call network

28 nodes / 17 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

2,511

Files

58

Compiled share

3.6%

Has compiled src

Yes

Language breakdown

R 1,292 (51.5%)C/C++/src 90 (3.6%)Tests 224 (8.9%)Docs 694 (27.6%)Vignettes 211 (8.4%)

API

Exported functions

12

Internal functions

17

Recent export changes

v3.20+1 perplexityPermute

Testing & CI

Has tests

Yes

Test-to-code ratio

0.17

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

Unsafe pattern score

0

Dep constraint coverage

6.7%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.3

System requirements

C++ standard

License

GPL-3 + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

6

First release

2023-10-24

Latest release

2026-04-28

Avg cadence

182 days

Cold removal rate

Dep drift

0

LOC over versions

v3.18: 2,370 LOCv3.19: 2,380 LOCv3.20: 2,507 LOCv3.21: 2,511 LOCv3.22: 2,511 LOCv3.23: 2,511 LOC

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

Documentation

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

Topics

Depended on by (1)

Bioconductor (1)

People

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("hoodscanR")
Liu, N., & Martin, J. (2026). hoodscanR: Spatial cellular neighbourhood scanning in R (Version 1.10.0) [Computer software]. https://bioconductor.org/packages/hoodscanR

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 hoodscanR version 1.10.0 [Data set]. HJJB, LLC. Data release v2026-08-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-22, 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