The spots package is designed for spatial omics (10x Visium, etc.) data analysis.

It performs various statistical analyses and tests, including spatial component analysis (SCA), both global and local spatial statistics, such as univariate and bivariate Moran’s I, Getis-Ord Gi* statistics, etc.

See Integrated protein and transcriptome high-throughput spatial profiling (2022) for more details.

Installation

Install from CRAN release:

Install from Github:

install.packages("devtools")
devtools::install_github("stevexniu/spots")

Install the light-weight spots-feather without eign decomposition (SCA functionality).

install.packages("devtools")
devtools::install_github("stevexniu/spots", ref = "feather")

Usage

See tutorials:

SCA vs PCA

Get Started

Spatial Statistics

© X. Steve Niu from Landau Lab, Weill Cornell Medicine and New York Genome Center