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.18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 551f05d6ae5dda89808b4fbf1e0e5e50061210ebe1296c98f48eba998e8cbe74 |
|
MD5 | a462a5d43384fb4699038d01d8676e5b |
|
BLAKE2b-256 | 14b99760ca14dacc76da447286afbebf24781c789ba209f68683d8365b543b06 |
Hashes for forest_fire_clustering-0.0.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c41f604611774f6eab7c529ddf6e45ddb0803885a6484c65a0b5136d6c806448 |
|
MD5 | 0ca51e74a13b7776944df8e41a7f9987 |
|
BLAKE2b-256 | 22132936746bce4511ec7181944dc25ac924b33801ba29517e023be126550158 |