Skip to main content

Implementation of diffusive topology neighbor embedding

Project description

DTNE - Diffusive Topology Neighbor Embedding

DTNE (Diffusive Topology Neighbor Embedding) is a Python tool that implements a novel manifold learning framework. By leveraging a diffusive process, DTNE constructs a manifold distance matrix, enabling key analyses such as dimensionality reduction, pseudotime ordering, and cluster identification, providing valuable insights into complex datasets.

Features

  • Dimensionality Reduction: By preserving manifold geodesic distances, DTNE provides accurate low-dimensional projections of high-dimensional single-cell data.
  • Pseudotime Inference: Infer developmental trajectories by leveraging the manifold distance matrix, improving the identification of lineage progression.
  • Clustering: DTNE enables clustering by utilizing the manifold distance matrix, which captures both local and global data structures.

Installation

install the package DTNE by running the following command in the terminal: pip install .

Quick Start

DTNE requires input data in the form of a high-dimensional matrix. Suppose you have loaded a single-cell data X in Python.

  1. Dimensionality Reduction

    DTNE can be used for dimensionality reduction:

    from dtne import *
    dtne_operator = DTNE(k_neighbors = 10,l=2) 
    Y = dtne_operator.fit_transform(X)
    
  2. Pseudotime Inference

    DTNE allows for pseudotime inference to analyze cell development trajectories:

    dtne_pseudotime = dtne_operator.order_cells(root_cells=[0])
    
  3. Clustering DTNE supports clustering based on the computed manifold distances:

    dtne_cluster = dtne_operator.cluster_cells(n_clusters=8)
    

Tutorial and Example Notebooks

Several example Jupyter notebooks are provided in the notebooks/ directory, demonstrating DTNE’s usage on various single-cell datasets.

Citation

If you use DTNE in your research, please cite the paper.

License

DTNE is licensed under the MIT 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

dtne-0.5.1.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

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

dtne-0.5.1-py2.py3-none-any.whl (13.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file dtne-0.5.1.tar.gz.

File metadata

  • Download URL: dtne-0.5.1.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for dtne-0.5.1.tar.gz
Algorithm Hash digest
SHA256 be2812224d8d001a07bf78fed56b16cf0b3b13bff42be1c4bdf4636a69f111a8
MD5 ec644ab61aad473d0e201d58dc25ab75
BLAKE2b-256 4a6d7266e5854d70eec8d50a026ee83d1e2cc4f70cbc9871c2b6f96221d3076c

See more details on using hashes here.

File details

Details for the file dtne-0.5.1-py2.py3-none-any.whl.

File metadata

  • Download URL: dtne-0.5.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for dtne-0.5.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0364f12bc2480cd41a2b582b31c10662f1bc2c022a0c2aac4ce258e3f59f9be8
MD5 1df222682887e9c4ca96dd80abf84223
BLAKE2b-256 2ab46e88f18cda57ded3f623431e7d99bef1c679395765236463f168a5499de4

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