Package: hoodscanR 1.10.0

Ning Liu

hoodscanR: Spatial cellular neighbourhood scanning in R

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.

Authors:Ning Liu [aut, cre], Jarryd Martin [aut]

hoodscanR_1.10.0.tar.gz
hoodscanR_1.10.0.zip(r-4.7)hoodscanR_1.10.0.zip(r-4.6)hoodscanR_1.10.0.zip(r-4.5)
hoodscanR_1.10.0.tgz(r-4.6-x86_64)hoodscanR_1.10.0.tgz(r-4.6-arm64)hoodscanR_1.10.0.tgz(r-4.5-x86_64)hoodscanR_1.10.0.tgz(r-4.5-arm64)
hoodscanR_1.10.0.tar.gz(r-4.7-arm64)hoodscanR_1.10.0.tar.gz(r-4.7-x86_64)hoodscanR_1.10.0.tar.gz(r-4.6-arm64)hoodscanR_1.10.0.tar.gz(r-4.6-x86_64)
hoodscanR_1.10.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
hoodscanR/json (API)
NEWS

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

Bug tracker:https://github.com/davislaboratory/hoodscanr/issues

Pkgdown/docs site:https://davislaboratory.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3

On BioConductor:hoodscanR-1.11.0(bioc 3.24)hoodscanR-1.10.0(bioc 3.23)

spatialtranscriptomicssinglecellclusteringcpp

5.65 score 13 stars 34 scripts 342 downloads 12 exports 100 dependencies

Last updated from:813dacca80 (on RELEASE_3_23). Checks:1 NOTE, 13 OK. Indexed: no.

TargetResultTimeFilesSyslog
bioc-checksNOTE189
linux-devel-arm64OK310
linux-devel-x86_64OK320
source / vignettesOK260
linux-release-arm64OK269
linux-release-x86_64OK340
macos-release-arm64OK187
macos-release-x86_64OK391
macos-oldrel-arm64OK217
macos-oldrel-x86_64OK437
windows-develOK292
windows-releaseOK303
windows-oldrelOK280
wasm-releaseOK157

Exports:calcMetricsclustByHoodfindNearCellsmergeByGroupmergeHoodSpeperplexityPermuteplotColocalplotHoodMatplotProbDistplotTissuereadHoodDatascanHoods

Dependencies:abindaskpassbase64encBiobaseBiocFileCacheBiocGenericsbitbit64blobbslibcachemcirclizecliclueclustercodetoolscolorspaceComplexHeatmapcpp11crayoncurlDBIdbplyrDelayedArraydigestdoParalleldplyrevaluatefarverfastmapfilelockfontawesomeforeachfsgenericsGenomicRangesGetoptLongggplot2GlobalOptionsgluegtablehighrhtmltoolshttr2IRangesisobanditeratorsjquerylibjsonliteknitrlabelinglatticelifecyclemagickmagrittrMatrixMatrixGenericsmatrixStatsmemoisemimeopensslpillarpkgconfigpngpurrrR6RANNrappdirsRColorBrewerRcpprjsonrlangrmarkdownRSQLiteS4ArraysS4VectorsS7sassscalesscicoSeqinfoshapeSingleCellExperimentSparseArraySpatialExperimentstringistringrSummarizedExperimentsystibbletidyrtidyselecttinytexutf8vctrsviridisLitewithrxfunXVectoryaml

A quick start guide to the hoodscanR package

Rendered fromQuick_start.Rmdusingknitr::rmarkdownon May 29 2026.

Last update: 2023-09-25
Started: 2023-08-14

Readme and manuals

Help Manual

Help pageTopics
Calculate metrics for probability matrixcalcMetrics
Cluster the probability matrix with K-meansclustByHood clustByHood,matrix-method clustByHood,SpatialExperiment-method
Find the k-th nearest cells for each cellfindNearCells
Merge probability matrix based on annotationsmergeByGroup
Merge probability matrix into SpatialExperiment object.mergeHoodSpe
Compute p-value for perplexity via permutationperplexityPermute
Plot heatmap for neighbourhood analysisplotColocal plotColocal,matrix-method plotColocal,SpatialExperiment-method
Plot probability matrix as a heatmapplotHoodMat plotHoodMat,matrix-method plotHoodMat,SpatialExperiment-method
Plot probability distributionplotProbDist plotProbDist,matrix-method plotProbDist,SpatialExperiment-method
Plot cells based on cell position on tissue.plotTissue
Read cellular position and annotation data into a list object.readHoodData
Scan cellular neighbourhoods.scanHoods