Skip to main content

STRIDE

PyPI Downloads Documentation Status

Spatial TRanscrIptomics DEconvolution by topic modeling (STRIDE), is a computational method to decompose cell types from spatial mixtures by leveraging topic profiles trained from single-cell transcriptomics. Besides the cell-type composition deconvolution, STRIDE also provides several downstream analysis functions, including (1) signature (i.e., topic) detection and visualization, (2) spatial clustering and domain identification based on neighborhood cell populations and (3) reconstruction of three-dimensional architecture from sequential ST slides of the same tissue.

avatar

Documentation

For full installation and usage of STRIDE, please refer to the documentation.

Change Log

v1.0.1

  • Build STRIDE.

v1.0.2

  • Add mapping function to identify similarest cells for spatial spots.
  • Fix bugs of integration.
  • Fix bugs of deconvolution with trained topic model.

v1.0.3

  • Update mapping function to make cell mapping consistent with the deconvolved fractions.

v1.0.4

  • Fix a bug that produced an empty *_spot_celltype_frac.txt when a topic column summed to zero (NaN propagated through the deconvolution). Zero-sum topic columns are now filled with 0 after normalization.

Install STRIDE

git clone https://github.com/DongqingSun96/STRIDE.git
cd STRIDE
pip install -r requirements.txt
python setup.py install

Usage

STRIDE --help
usage: STRIDE [-h] [-v] {deconvolve,plot,cluster,integrate,map} ...

STRIDE (Spatial TRanscrIptomics DEconvolution by topic modelling) is a cell-
type deconvolution tool for spatial transcriptomics by using single-cell
transcriptomics data.

positional arguments:
  {deconvolve,plot,cluster,integrate}
    deconvolve          Decompose celltype proportion for spatial
                        transcriptomics.
    plot                Visualize the deconvolution result.
    cluster             Neighbourhood analysis based on cell-type composition
                        and local cell population
    integrate           Integrate multiple samples from the same tissue.
    map                 Identify similarest cells for spatial spots.

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         Print version info.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stridespatial-1.0.4.tar.gz (34.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stridespatial-1.0.4-py3-none-any.whl (38.2 kB view details)

Uploaded Python 3

File details

Details for the file stridespatial-1.0.4.tar.gz.

File metadata

  • Download URL: stridespatial-1.0.4.tar.gz
  • Upload date:
  • Size: 34.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.13

File hashes

Hashes for stridespatial-1.0.4.tar.gz
Algorithm Hash digest
SHA256 284b597788975037a155eade5e2b4676bef9562975e495d3211b2ef872dfcae2
MD5 baa6e352db834028e3f168e48cee7a17
BLAKE2b-256 40f40bfb8a60bddff244159f9d99c4d999d5b13cc4106c3f2ae2048722e2f918

See more details on using hashes here.

File details

Details for the file stridespatial-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: stridespatial-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 38.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.13

File hashes

Hashes for stridespatial-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5800251bbdec4eee56855c9f2b10e645b1ff6d6ebb6f1b5228c529ee3849cc09
MD5 4e6dd2868ec91462d5fa4d62a0d48480
BLAKE2b-256 497649a8f7f202d189c9b7c6e1d2ba98ec2ce455dbe3baa499153be2def293a2

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page