Skip to main content

clone2vec

Tests PyPI License: MIT

clone2vec is a Python package for analysis of lineage tracing coupled with single-cell RNA-Seq.

The main key of the package are clonal embeddings — vector representations of the whole clones in low dimensional space. These representations is a dropout-robust and cluster-free way of representation of heterogeneity within clonal behaviour for cell type tree-free hypothesis generation regarding cells' multipotency.

clone2vec builds representation of clones in exact same way with popular word embedding algorithm — word2vec — via construction two-layers fully connected neural network (it uses Skip-Gram architecture) that aims to predict neighbour cells clonal labellings by clonal label of cells. As a result, clones that exist in similar context in gene expression space will have similar weights in this neural network, and these weights will be used as embedding for further analysis.

Benchmarking illustrations

See Technical Note for more details.

Installation

clone2vec might be installed via pip (takes 1-2 minutes on Google Colab):

pip install clone2vec

or the latest development version can be installed from GitHub using:

pip install git+https://github.com/kharchenkolab/clone2vec

System requirements

clone2vec requires Python 3.8 or later with packages listed in setup.cfg file. The package was successfully tested on the following systems:

  • macOS Sonoma 14.5 (Apple M1 Chip @ 3.20GHz × 8, 16GB RAM) — MacBook Air M1,
  • Ubuntu 18.04.5 LTS, 64-bit (Intel Xeon @ 2.60GHz × 32, 256GB RAM) — PowerEdge server,
  • Ubuntu 22.04.3 LTS, 64-bit (Intel Xeon @ 2.20GHz × 2, 13GB RAM) — Google Colab.

Documentation and tutorials

Please visit documentation web-site to check out API description and a few tutorials with analysis.

Release files for clone2vec 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 clone2vec 0.1.1
File Size Uploaded
clone2vec-0.1.1.tar.gz 88.9 kB Details

Built distribution (wheel)

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

Total release size: 172.7 kB

Release files / clone2vec-0.1.1.tar.gz

Download URL clone2vec-0.1.1.tar.gz
Size 88.9 kB
Tags Source
SHA-256 checksum
How to use checksums
cf90e9454e5c4088f4747241518b87940c9ee7345019276b0d6a1906c864c76d
BLAKE2b-256 checksum
How to use checksums
2d89dc23da726ed54b9e6f0d580a637da79fced3dc6aa51cc18447f43916d83e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL clone2vec-0.1.1-py3-none-any.whl
Size 83.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
25f4c16e40718be7e37bb9163085ea58ff96130285a6ad56d4f2b551e9315133
BLAKE2b-256 checksum
How to use checksums
a2621088ebdc063c8518c6d1b070d626761b7c508e15b72c205428f0f917e64e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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