Skip to main content

SpatialDE Modern

spatialde-modern is a maintained fork of SpatialDE, a method for identifying genes whose expression depends on spatial or temporal coordinates.

The distribution keeps the original SpatialDE import package and numerical API while supporting current Python, NumPy, pandas, and SciPy releases. It is published under a distinct distribution name so it cannot be confused with an official release from the original authors.

Installation

pip install spatialde-modern

The import name remains unchanged:

import SpatialDE

Minimal example

import pandas as pd
import SpatialDE

coordinates = pd.DataFrame({"x": [0, 0, 1, 1], "y": [0, 1, 0, 1]})
expression = pd.DataFrame(
    {
        "gene_a": [0.1, 0.2, 1.1, 1.2],
        "gene_b": [0.5, 0.4, 0.6, 0.5],
    }
)

results = SpatialDE.run(coordinates, expression)

Maintenance scope

This repository contains only the maintained Python distribution. The original paper analyses, datasets, notebooks, R implementation, and historical Stan experiments remain available in the upstream repository. They are not runtime dependencies and are intentionally excluded here.

Compatibility fixes in this fork include:

  • replacement of the removed scipy.misc.derivative API;
  • conversion of removed top-level SciPy array aliases to NumPy;
  • support for current pandas array semantics;
  • modern PEP 517/621 packaging with complete runtime dependencies;
  • isolated wheel builds and real numerical smoke tests in CI.

Attribution and license

SpatialDE was created by Valentine Svensson and collaborators. This maintained fork preserves the original MIT license and records its upstream base in NOTICE.md.

Download files

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

Source Distribution

spatialde_modern-1.1.3.post1.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

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

spatialde_modern-1.1.3.post1-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file spatialde_modern-1.1.3.post1.tar.gz.

File metadata

  • Download URL: spatialde_modern-1.1.3.post1.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for spatialde_modern-1.1.3.post1.tar.gz
Algorithm Hash digest
SHA256 153a5018efff1e0d9b2c50cdffd6af39a3a296c7489ce0405313190b4098e7c7
MD5 76337a0e78e541731ddfec87a3bef858
BLAKE2b-256 94317a40b69272633c46de94315909ec1670254791a7bf5390f63d65671780c6

See more details on using hashes here.

File details

Details for the file spatialde_modern-1.1.3.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for spatialde_modern-1.1.3.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 cb42cf253b444b9e68942a6267bcf5404995fb3ee025e3a9380dcc4177a2935f
MD5 91faba6c7fcfb4ae7e6d8bcddfeb848a
BLAKE2b-256 4e02719d01e84ee2898c277b4fc9eb80a5ad8ef4f3b63cd58933d45f529e9afd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page