SVG1.0.0 package

Spatially Variable Genes Detection Methods for Spatial Transcriptomics

ACAT_combine

ACAT: Aggregated Cauchy Association Test

adj_to_edgelist

Convert Adjacency Matrix to Edge List

binarize_expression

Binarize Gene Expression

binarize_kmeans_cpp

Fast Binarization using K-means (k=2)

buildSpatialNetwork

Build Spatial Neighborhood Network

CalSVG_binSpect

binSpect: Binary Spatial Enrichment Test for SVG Detection

CalSVG_MarkVario

Detect SVGs using Mark Variogram Method

CalSVG_MERINGUE

MERINGUE: Moran's I based Spatially Variable Gene Detection

CalSVG_nnSVG

nnSVG: Nearest-Neighbor Gaussian Process SVG Detection

CalSVG_Seurat

Seurat-style SVG Detection Methods

CalSVG_SPARKX

SPARK-X: Non-parametric Kernel-based SVG Detection

CalSVG

Unified Interface for SVG Detection

data_simulation

Simulate Spatial Transcriptomics Data with Known SVGs

davies_pvalue

Davies' Method for Quadratic Form P-values

dist_matrix_cpp

Fast Distance Matrix Computation

dot-check_cpp

Check if C++ Functions are Available

fisher_spatial_cpp

Compute Fisher's Exact Test for Spatial Enrichment

generate_hexagonal_grid

Generate Hexagonal Grid Coordinates

generate_random_coords

Generate Random Coordinates

generate_spatial_pattern

Generate Spatial Expression Pattern

generate_square_grid

Generate Square Grid Coordinates

getSpatialNeighbors_Delaunay

Build Spatial Network via Delaunay Triangulation

getSpatialNeighbors_KNN

Build Spatial Network via K-Nearest Neighbors

knn_adj_cpp

Build KNN Adjacency Matrix

lisa_test

Local Indicators of Spatial Association (LISA)

liu_pvalue

Liu's Method for Approximating P-values

moranI_cpp

Fast Row-wise Moran's I Calculation

moranI_full_cpp

Fast Moran's I with Full Statistics

moranI_test

Moran's I Test for Spatial Autocorrelation

moranI

Calculate Moran's I Statistic

row_standardize

Row Standardize Adjacency Matrix

simulate_spatial_data

Simulate Spatial Transcriptomics Data

SVG-package

SVG: Spatially Variable Genes Detection Methods for Spatial Transcript...

utils_spatial

Spatial Network Utilities

utils_stats

Statistical Utilities for SVG Detection

zzz

Package Startup Messages

A unified framework for detecting spatially variable genes (SVGs) in spatial transcriptomics data. This package integrates multiple state-of-the-art SVG detection methods including 'MERINGUE' (Moran's I based spatial autocorrelation), 'Giotto' binSpect (binary spatial enrichment test), 'SPARK-X' (non-parametric kernel-based test), and 'nnSVG' (nearest-neighbor Gaussian processes). Each method is implemented with optimized performance through vectorization, parallelization, and 'C++' acceleration where applicable. Methods are described in Miller et al. (2021) <doi:10.1101/gr.271288.120>, Dries et al. (2021) <doi:10.1186/s13059-021-02286-2>, Zhu et al. (2021) <doi:10.1186/s13059-021-02404-0>, and Weber et al. (2023) <doi:10.1038/s41467-023-39748-z>.

  • Maintainer: Zaoqu Liu
  • License: MIT + file LICENSE
  • Last published: 2026-02-01