A deep learning framework for single cell multimode data mosaic integration
Project description
scMMDI_py
scMMDI: A deep learning framework for single cell multimode data mosaic integration This is the Python implementation of the scMMDI algorithm. Note that this implementation supports GPU acceleration.
1. Installation
You can use the following command to install scMMDI:
pip install scMMDI
2. Usage
scMMDI accepts a muon object as input and populates the obsm and uns fields with embeddings and dictionaries, respectively. The pre-processed PBMC dataset is available for download here. It is recommended that a GPU be used to run the model. To initialize and run the scMMDI model, the following code should be used:
from scMMDI.model import scMMDI
import mudata as md
import scanpy as sc
# Load data into a Muon object.
mdata = md.read_h5mu("my_data.h5mu")
# Initialize and train the model.
model = scMMDI(latent_dim=30)
model.fit(mdata)
# Visualize the embedding with UMAP.
sc.pp.neighbors(mdata, use_rep="scMMDI_z")
sc.tl.umap(mdata)
sc.pl.umap(mdata)
'scMMDI' class also has other methods, you can use the 'help' or '?' command for more details explanations of the methods.
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 scmmdi-0.0.1.tar.gz.
File metadata
- Download URL: scmmdi-0.0.1.tar.gz
- Upload date:
- Size: 50.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af22d4323b1ff893272d64615c09f2d6006a09ad64515c41bba0955fbd24894f
|
|
| MD5 |
839fdea3acaf0eb8764ff141448781c7
|
|
| BLAKE2b-256 |
137acfede1bf0389ea5622e0262dfb2d1cbf75af46b87fe848c0ac0b5d6e7a10
|
File details
Details for the file scmmdi-0.0.1-py3-none-any.whl.
File metadata
- Download URL: scmmdi-0.0.1-py3-none-any.whl
- Upload date:
- Size: 56.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76f90248d20fa5452d111bcd9e4a4ca4faccc6a6f75afa93cfa6642762d42dca
|
|
| MD5 |
f52794370426148cc732da0a39a15120
|
|
| BLAKE2b-256 |
2a41be47c9256c5039e7b2cfd0b6df001c63abb88ba467bbd176639c156acf22
|