Clustering method based on Forest Fire Dynamics
Project description
forest-fire-clustering
Clustering Method Inspired by Forest Fire Dynamics
Description
Forest Fire Clustering is an efficient and interpretable clustering method for discovering and validating cell types in single-cell sequencing analysis. Different than the existing methods, our clustering algorithm makes minimal prior assumptions about the data and provides point-wise posterior probabilities for internal validation. Additionally, it computes point-wise label entropies that can highlight novel transition cell types de novo along developmental pseudo-time manifolds. Lastly, our inductive algorithm is able to make robust inferences in an online-learning context.
Getting Started
Dependencies
- python >= 3.6
- numpy
- scipy
- scikit-learn
- numba
Installing
Estimated time: 2 mins
pip install forest-fire-clustering
or
pip install -u forest-fire-clustering
Executing program
"X" is a [sample x feature] matrix
To generate clustering:
from forest_fire_clustering import FFC
cluster_obj = FFC()
cluster_obj.preprocess(X)
cluster_obj.fit(fire_temp=100)
cluster_obj.cluster_labels
To validate the results:
cluster_obj.validate()
cluster_obj.entropy()
cluster_obj.pval()
cluster_obj.entropy_list # list of entropies of the data point
cluster_obj.pval_list # list of posterior significance values
Authors
Zhanlin Chen, Jeremy Goldwasser, Philip Tuckman, Jing Zhang, Mark Gerstein
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for forest_fire_clustering-0.0.21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3568e2f6292f25a02b90cda80c8850c43130c77c3c1c5c6169f9b98e5d3f2659 |
|
MD5 | 3479e5e2bb7575628f5be72e28ed0da0 |
|
BLAKE2b-256 | 52ba18ffcc8b07fc9f0f0ef5f086f90e29bdf5f8b4313d9ae4c1787cadf5face |
Hashes for forest_fire_clustering-0.0.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5ced893ec02a98eeda85ee29d3d02a555f7e833d399cc970758a16c24c428a3 |
|
MD5 | e1a07a639d406a492d46fc6666886d17 |
|
BLAKE2b-256 | 55614670ead2aa4426212e7e96911fa9b16d4ce8b803bed18f8b8ab1aea9f03b |