Bioconductor Developer Survey 2026 Now Open!

stJoincount

This is the released version of stJoincount; for the devel version, see stJoincount.

All versions 3.24 (devel), 3.23 (release), 3.22, 3.21, 3.20, 3.19, 3.18, 3.17, 3.16

stJoincount - Join count statistic for quantifying spatial correlation between clusters


Bioconductor version: Release (3.23)

stJoincount facilitates the application of join count analysis to spatial transcriptomic data generated from the 10x Genomics Visium platform. This tool first converts a labeled spatial tissue map into a raster object, in which each spatial feature is represented by a pixel coded by label assignment. This process includes automatic calculation of optimal raster resolution and extent for the sample. A neighbors list is then created from the rasterized sample, in which adjacent and diagonal neighbors for each pixel are identified. After adding binary spatial weights to the neighbors list, a multi-categorical join count analysis is performed to tabulate "joins" between all possible combinations of label pairs. The function returns the observed join counts, the expected count under conditions of spatial randomness, and the variance calculated under non-free sampling. The z-score is then calculated as the difference between observed and expected counts, divided by the square root of the variance.

Author: Jiarong Song [cre, aut] ORCID iD ORCID: 0000-0002-3673-4853 , Rania Bassiouni [aut], David Craig [aut]

Maintainer: Jiarong Song <songjiar at usc.edu>

Citation (from within R, enter citation("stJoincount")):

Jiarong Song, Rania Bassiouni, David Craig. stJoincount: stJoincount - Join count statistic for quantifying spatial correlation between clusters. doi:10.18129/B9.bioc.stJoincount, R package version 1.13.0, https://bioconductor.org/packages/stJoincount.

Generated from the package metadata; it may differ from the package's own citation.

Installation

To install this package, start R (version "4.6") and enter:

if (!require("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("stJoincount")

For older versions of R, please refer to the appropriate Bioconductor release.

Documentation

To view documentation for the version of this package installed in your system, start R and enter:

browseVignettes("stJoincount")
Introduction to stJoincount HTML R Script
Reference ManualPDF
NEWSText
LICENSEText

Details

biocViews BiocViews, Clustering, Software, Spatial, Transcriptomics
Version1.13.0
In Bioconductor sinceBioC 3.16 (R-4.2) (4 years)
License MIT + file LICENSE
Depends R (>= 4.2.0)
Imports graphics, stats, dplyr, magrittr, sp, raster, spdep, ggplot2, pheatmap, grDevices, Seurat, SpatialExperiment, SummarizedExperiment
System Requirements
URLhttps://github.com/Nina-Song/stJoincount
See More
Suggests BiocStyle, knitr, rmarkdown, testthat (>= 3.0.0)
Linking To
Enhances
Depends On Me
Imports Me
Suggests Me
Links To Me
Build Report Build Report, r-universe

Package Archives

Follow Installation instructions to use this package in your R session.

Source Package stJoincount_1.13.0.tar.gz
Windows Binary (x86_64) stJoincount_1.13.0.zip
macOS Binary (big-sur-x86_64) stJoincount_1.13.0.tgz
macOS Binary (sonoma-arm64)
Source Repositorygit clone https://git.bioconductor.org/packages/stJoincount
Source Repository (Developer Access)git clone git@git.bioconductor.org:packages/stJoincount
Package Short Url https://bioconductor.org/packages/stJoincount/
Package Downloads ReportDownload Stats