Skip to main content

A flexible framework for transformer-based analysis of spatial transcriptomics data.

Project description

stFormer

A flexible framework for transformer-based analysis of spatial transcriptomics data. stFormer provides tools for data tokenization, pretraining, embedding extraction, in silico perturbation, and downstream classification.

Install

pip install --upgrade stformer

Prerequisites: Python3.8+, OpenMPI (for deepspeed only)

Features

  • Data Tokenization
  • Pretraining
  • Token/Sequence Classification
  • In Silico Perturbation
  • Network Dynamic Predictions

Contributing

Contributions are welcome! Please open issues at our Github or submit pull requests for bug fixes and new features.

Models

Pretrained models and datasets are available through our hugging-face model card

License

This project is licensed under the MIT License. See LICENSE for details.

Project details


Download files

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

Source Distribution

cancerstformer-0.1.0a0.tar.gz (74.2 kB view details)

Uploaded Source

Built Distribution

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

cancerstformer-0.1.0a0-py3-none-any.whl (85.5 kB view details)

Uploaded Python 3

File details

Details for the file cancerstformer-0.1.0a0.tar.gz.

File metadata

  • Download URL: cancerstformer-0.1.0a0.tar.gz
  • Upload date:
  • Size: 74.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for cancerstformer-0.1.0a0.tar.gz
Algorithm Hash digest
SHA256 218f32a44941246955701ad44b3f93f2e73e4ff148337f1aa659147a8311d137
MD5 3ec75673539e70ac04ff37b28f53fde7
BLAKE2b-256 6f98927426dc67a2914dc75f9beb79e0f028a09b4a8687393245ef2d41cb7edf

See more details on using hashes here.

File details

Details for the file cancerstformer-0.1.0a0-py3-none-any.whl.

File metadata

File hashes

Hashes for cancerstformer-0.1.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 66f6fe8d65a07f981386c3a4baa5b963776c1189e686ff43e27923e159badb27
MD5 738bc33f13db85f61b26d9ea111ec4ef
BLAKE2b-256 a148b5fabe407992ee38829834b391ea7cdc4d5fafd436140835654d3342751e

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 Pingdom Monitoring Sentry Error logging StatusPage Status page