A gene clustering model using deep learning
Project description
GeneCluster
GeneCluster, a gene clustering method for Single Cell RNA-seq data.
Requirements
python --- 3.8.10
scanpy --- 1.8.2
umap-learn --- 0.5.3
torch --- 1.8.1
torchvision --- 0.9.1
faiss-gpu --- 1.7.1
Usage
The raw single-cell data in h5 format first goes through DataProcess.py to get the gene-cell in csv format, and the csv format is fed into the model for training.
# Run the GeneCluster package with parameters
GeneCluster --data_path path/to/dataset.csv --epochs 100 --nmb_cluster 20 --lr 0.01 --batch 128 --ckpt_path train_res
Please note that the model outputs gene embeddings extracted by training (features.npy), which can be used to predict gene co-expression relationships and identify gene modules.
Example
from genecluster import main
args = {
"data_path": "path/to/dataset.csv",
"epochs": 100,
"nmb_cluster": 10,
"lr":0.01,
"batch":128,
"ckpt_path":"train_res"
# other arguments
}
main(args)
Contact
Yuting Bai (yutingya820@163.com)
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file GeneCluster-0.1.1.tar.gz.
File metadata
- Download URL: GeneCluster-0.1.1.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad0a2d9a5e0f7b45722f02406c8c5c1f8d75017814858323167237b2046abcb1
|
|
| MD5 |
f0dabe8afbf1178db75620f3addcff44
|
|
| BLAKE2b-256 |
9e8615175c4571171decd82c2248d99f87ed3b611d15698eccda0277c922b699
|
File details
Details for the file GeneCluster-0.1.1-py3-none-any.whl.
File metadata
- Download URL: GeneCluster-0.1.1-py3-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
461551f97a85816e23e254488468e7b27bba1aa419b8c97412dde3462ca86255
|
|
| MD5 |
abadfe098aa939378d2f58916152847f
|
|
| BLAKE2b-256 |
4a1c1609c727bb87db57ec1f17addc4501b6f31b07a6fd72260e1c261c0210f7
|