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.1.tar.gz (33.8 kB view details)

Uploaded Source

Built Distribution

bin2cell-0.3.1-py3-none-any.whl (34.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for bin2cell-0.3.1.tar.gz
Algorithm Hash digest
SHA256 97f9ccece38810ff9e1d19f28fc0b6d2e07c803dbebf49ecb4ade54278cfd913
MD5 07699ca9d1fb4111f14838e967c8bc2a
BLAKE2b-256 2d2614853885af161a96d7de90f348fab3ad7893542b43d5d6631478bd661283

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for bin2cell-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ccdad357a1decec289785554deda2b4b5b59378d241f1b78b8cf2d64e015e50d
MD5 ff5f51e2dedbf10c57234168df33ae37
BLAKE2b-256 7df3356d333916b8e17426c3131b859a3ad431699cb162654c5a5c63f54fc36a

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