- recipe bioconductor-stjoincount
stJoincount - Join count statistic for quantifying spatial correlation between clusters
- Homepage:
https://bioconductor.org/packages/3.18/bioc/html/stJoincount.html
- License:
MIT + file LICENSE
- Recipe:
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.
- package bioconductor-stjoincount¶
- versions:
1.4.0-0
,1.2.0-0
,1.0.0-0
- depends bioconductor-spatialexperiment:
>=1.12.0,<1.13.0
- depends bioconductor-summarizedexperiment:
>=1.32.0,<1.33.0
- depends r-base:
>=4.3,<4.4.0a0
- depends r-dplyr:
- depends r-ggplot2:
- depends r-magrittr:
- depends r-pheatmap:
- depends r-raster:
- depends r-seurat:
- depends r-sp:
- depends r-spdep:
- requirements:
Installation
You need a conda-compatible package manager (currently either micromamba, mamba, or conda) and the Bioconda channel already activated (see set-up-channels).
While any of above package managers is fine, it is currently recommended to use either micromamba or mamba (see here for installation instructions). We will show all commands using mamba below, but the arguments are the same for the two others.
Given that you already have a conda environment in which you want to have this package, install with:
mamba install bioconductor-stjoincount and update with:: mamba update bioconductor-stjoincount
To create a new environment, run:
mamba create --name myenvname bioconductor-stjoincount
with
myenvname
being a reasonable name for the environment (see e.g. the mamba docs for details and further options).Alternatively, use the docker container:
docker pull quay.io/biocontainers/bioconductor-stjoincount:<tag> (see `bioconductor-stjoincount/tags`_ for valid values for ``<tag>``)
Download stats¶
Link to this page¶
Render an badge with the following MarkDown:
[![install with bioconda](https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg?style=flat)](http://bioconda.github.io/recipes/bioconductor-stjoincount/README.html)