Skip to content
forked from lmweber/nnSVG

nnSVG: scalable method to identify spatially variable genes (SVGs) in spatially-resolved transcriptomics data based on nearest-neighbor Gaussian processes (NNGPs)

License

Notifications You must be signed in to change notification settings

jinning1012/nnSVG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nnSVG

R build status

R/Bioconductor package implementing our method nnSVG for scalable identification of spatially variable genes (SVGs) in spatially resolved transcriptomics (ST) data.

nnSVG is based on nearest-neighbor Gaussian processes (Datta et al., 2016, Finley et al., 2019) and uses the BRISC algorithm (Saha and Datta, 2018) for model fitting and parameter estimation. nnSVG allows identification and ranking of SVGs with flexible length scales across a tissue slide or within spatial domains defined by covariates. The method scales linearly with the number of spatial locations and can be applied to datasets containing thousands or more spatial locations.

The nnSVG package is integrated into the Bioconductor framework and uses the SpatialExperiment class to store ST data and results.

More details on the method will be provided in our paper (to be submitted to bioRxiv soon).

The package is currently available from GitHub and has been submitted to Bioconductor.

Installation

The development version of the package can be installed from GitHub as follows, including updated versions of dependencies. (Note the ref = "release" argument.)

remotes::install_github("drighelli/SpatialExperiment")
remotes::install_github("lmweber/STexampleData")
install.packages("BRISC")
remotes::install_github("lmweber/nnSVG", ref = "release")

Tutorial

An extended example and tutorial is available in the package vignette.

Citation

A preprint describing nnSVG will be submitted to bioRxiv soon.

Additional references

About

nnSVG: scalable method to identify spatially variable genes (SVGs) in spatially-resolved transcriptomics data based on nearest-neighbor Gaussian processes (NNGPs)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%