Skip to main content

A Python package for processing single-cell and spatial transcriptomics data

Project description

TrackCell

A Python package for processing and vis single-cell and spatial transcriptomics data.

Installation

pip install trackcell

Usage

Reading SpaceRanger Output

import trackcell as tcl

# Read SpaceRanger output
adata = tcl.io.read_hd_cellseg(
    datapath="SpaceRanger4.0/Cse1/outs/segmented_outputs",
    sample="Cse1"
)

# The resulting AnnData object contains:
# - Expression matrix in .X
# - Cell metadata in .obs
# - Gene metadata in .var
# - Spatial coordinates in .obsm["spatial"]
# - Tissue images in .uns["spatial"][sample]["images"]
# - Scalefactors in .uns["spatial"][sample]["scalefactors"]

Development

License

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

trackcell-0.1.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

trackcell-0.1.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file trackcell-0.1.1.tar.gz.

File metadata

  • Download URL: trackcell-0.1.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for trackcell-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4c8269a51a7088a8b51a2ba6cb327444bbd07e6be5f7f1c306931680ab884a61
MD5 0032e2f522acfbc0003dd07cd687223f
BLAKE2b-256 437a44b525d9f39e4be4b0fe26a58989b01e297b1a5a25fe47998961581f5c2f

See more details on using hashes here.

File details

Details for the file trackcell-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: trackcell-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for trackcell-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 84cc92367ac6f479bb2a864e827a6738db57c7338f94f87c6def6fbda015a1f3
MD5 5f7fb2d97592b200053b081663b246d3
BLAKE2b-256 b61d6ade595b9e283163ca5d654ab818101fb80119dc2237f6ad1c386f2973c6

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