Skip to main content

Join subcellular Visium HD bins into cells

Project description

Bin2cell

Visium HD captures gene expression data at a subcellular 2um resolution. It should be possible to use this data to reconstruct cells more accurately than just using the next resolution up (8um), especially if additionally using the available high resolution morphology images.

Bin2cell proposes 2um bin to cell groupings based on segmentation, which can be done on the morphology image and/or a visualisation of the gene expression. The package also corrects for a novel technical effect in the data stemming from variable bin dimensions. The end result is an object with cells, created from grouped 2um bins assigned to the same object after segmentation, carrying spatial information and sharper morphology images for visualisation. More details in the demo notebook.

Label evolution

Installation

pip install bin2cell

Additionally, TensorFlow needs to be installed for StarDist to perform segmentation. The CPU version (installed via pip install tensorflow) should suffice for the scale of work performed here.

Usage and Documentation

Please refer to the demo notebook. Function docstrings are available on ReadTheDocs.

The repository also has notebooks comparing bin2cell output to standard 8um SpaceRanger output:

Citation

Please cite our paper.

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

bin2cell-0.3.2.tar.gz (38.4 kB view details)

Uploaded Source

Built Distribution

bin2cell-0.3.2-py3-none-any.whl (39.3 kB view details)

Uploaded Python 3

File details

Details for the file bin2cell-0.3.2.tar.gz.

File metadata

  • Download URL: bin2cell-0.3.2.tar.gz
  • Upload date:
  • Size: 38.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for bin2cell-0.3.2.tar.gz
Algorithm Hash digest
SHA256 6529a8260b75c8c0237938f4ea389dfe055aea0909a31315f8fec32d44b2c531
MD5 8c69dcdeec5e24828030f1cc7918dece
BLAKE2b-256 727dea14e7d91140307d0af7d6ac6a274df3a0bfc13367db33a7d96a1282cc87

See more details on using hashes here.

File details

Details for the file bin2cell-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: bin2cell-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 39.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for bin2cell-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e7b0ab32dc6b1dfe754eee96b087e4853fa1ebd1084a865370c75518847c550b
MD5 aa17c49abfd56d79fa2f14be15a339f6
BLAKE2b-256 3c39aeff364ba4fff07066177ddcd8a0f12c6275701a246ba73abde24febd601

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page