Skip to content

hoodscanR

Bioc current

Spatial cellular neighbourhood scanning in R

v1.10.0 · Package record · 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.

Advisories

None published for Bioconductor

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

50

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

Has tests

Yes

Test-to-code ratio

0.17

testthat edition

3

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

In the Bioconductor 3.23 release
READMEYes · 27 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structuredCitation fileNoWebsiteYes · pkgdown
Help pages
14 (2 internal)includes a package overview page
Examples that run
100%13 run in a plain check
Exported functions with examples
100%
Documented parameters
96%
Return-value docs
100%
Help pages citing references
0%

Repository practices

Upstream repositoryBeta

6 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/davislaboratory/hoodscanr on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (3)
pkgdown

GitHub Pages site last deployed 2025-11-12 · The repository has a site deploy workflow

pkgdown site last built 2025-11-12

Coverage (1)
Coverage reporting (Codecov)
How this is detected·Detection ruleset v4 (2026-10-20)

Datasets

Bundled datasets · 1
NameClassSizeAlso in
spe–––

All of hoodscanR's data objects

Topics

Maintainer
Ning Liu

Available on

CRANr2uBioconductorautoCRANCOPR

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 package has no citation file, so citation() returns this entry built from DESCRIPTION.

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-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, 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