Skip to main content

Python implementation of dtangle (Deconvolution of microarray and bulk RNASeq data)

Project description

dtangle

DOI PyPI - Version PyPI - Python Version Read the Docs

Python implementation of dtangle for deconvolution of bulk expression profiles using reference cell types. Original R package can be found at https://github.com/gjhunt/dtangle.

Install

pip install dtangle

Requires python>=3.11.

Quick Start

from dtangle import deconvolut

deconvolut(
	mixture_adata,
	reference_adata,
	"cell_type",
	markers={"A": ["g0"], "B": ["g1"]},
	n_markers=1,
	key_added="dtangle",
)

# Results are written to:
# mixture_adata.obsm["dtangle"]
# mixture_adata.uns["dtangle"]

Development

uv venv
make install
make check

# Build docs
make docs

Project Links

License

GPL Version 3

Citation

Original dtangle publication:

@article{10.1093/bioinformatics/bty926,
    author = {Hunt, Gregory J and Freytag, Saskia and Bahlo, Melanie and Gagnon-Bartsch, Johann A},
    title = {dtangle: accurate and robust cell type deconvolution},
    journal = {Bioinformatics},
    volume = {35},
    number = {12},
    pages = {2093-2099},
    year = {2018},
    month = {11},
    issn = {1367-4803},
    doi = {10.1093/bioinformatics/bty926},
    url = {https://doi.org/10.1093/bioinformatics/bty926},
    eprint = {https://academic.oup.com/bioinformatics/article-pdf/35/12/2093/48934914/bioinformatics_35_12_2093.pdf},
}

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

dtangle-0.1.1.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

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

dtangle-0.1.1-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dtangle-0.1.1.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for dtangle-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cb7376466c7a13ada52e8b55854b217716a1e64298361c9cf783c63efe1a41e7
MD5 1b7b6c246c40f0ae41ff69921b4aca43
BLAKE2b-256 819199806a935b9f159b9e0ec76d0376d7052eb8ed9d71bb611a6d6cd551375e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dtangle-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for dtangle-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3d82bebc0c75f0c93335183dc5e45fb8a4f397d348a03ea38dcbb9fe2266b813
MD5 a5039cf1f6a1ac8b6dd7aa84823e479d
BLAKE2b-256 59f9f2a7073a99e91d460f7ccab88e025c4ca26ee34bd47ec0adacc4829583f6

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