Skip to main content

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

Project description

dtangle

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.0.tar.gz (8.0 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.0-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dtangle-0.1.0.tar.gz
  • Upload date:
  • Size: 8.0 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.0.tar.gz
Algorithm Hash digest
SHA256 86ca7527964d9160679a0641c1baaebb0c1ad50def58cac7adfd1b6a3fcab990
MD5 f3d0d9798c9acc717a5d02ad4fd1b5f7
BLAKE2b-256 abf474cbad14d00a1b7f8331ac3c0409f1d646a7f7fb6edee4b8c1ec2f519a70

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dtangle-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39ab7eeb9110f4bc6f37f9cd22e4a2075dbf8a3cb6837c2b17853cfb1f86a782
MD5 4f97a4b1e4cea7eec5c58ac7cbd55475
BLAKE2b-256 7dcdc6e940353de1055907481796e960c2b912ea0abe7ba2a6341e0fd5e904b6

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