Skip to main content

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},
}

Metadata

Release files for dtangle 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dtangle 0.1.1
File Size Uploaded
dtangle-0.1.1.tar.gz 8.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dtangle 0.1.1
File Interpreter ABI Platform
dtangle-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 18.2 kB

Release files / dtangle-0.1.1.tar.gz

Download URL dtangle-0.1.1.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
cb7376466c7a13ada52e8b55854b217716a1e64298361c9cf783c63efe1a41e7
BLAKE2b-256 checksum
How to use checksums
819199806a935b9f159b9e0ec76d0376d7052eb8ed9d71bb611a6d6cd551375e
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / dtangle-0.1.1-py3-none-any.whl

Download URL dtangle-0.1.1-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d82bebc0c75f0c93335183dc5e45fb8a4f397d348a03ea38dcbb9fe2266b813
BLAKE2b-256 checksum
How to use checksums
59f9f2a7073a99e91d460f7ccab88e025c4ca26ee34bd47ec0adacc4829583f6
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page