Skip to main content

Topological Identification and Interpretation for High-throughput Single-cell Gene Regulation Elucidation across Multiple Platforms using scMGCA

Project description

scMGCA

PyPI badge License

scMGCA is a Python package containing tools for clustering single-cell data based on a graph-embedding autoencoder that simultaneously learns cell–cell topology representation and cluster assignments.

Overview

Single-cell RNA sequencing (scRNA-seq) provides high-throughput gene expression information to explore cellular heterogeneity at the individual cell level. A major challenge in characterizing high-throughput gene expression data arises from the curse of dimensionality, and the prevalence of dropout events. To address these concerns, we developed a single-cell clustering method (scMGCA) based on a graph-embedding autoencoder that simultaneously learns cell–cell topology representation and cluster assignments. In scMGCA, we propose a graph convolutional autoencoder to preserve the topological information of cells from the embedded space in multinomial distribution, and employs the positive pointwise mutual information (PPMI) matrix for cell graph augmentation. Experiments show that scMGCA is accurate and effective for cell segregation and superior to other state-of-the-art models across multiple platforms, and is also able to correct for batch effects of data from different scRNA-seq protocols. In addition, we perform genomic interpretation on the key compressed transcriptomic space of the graph-embedding autoencoder to demonstrate the underlying gene regulation mechanism. In a pancreatic ductal adenocarcinoma (PDAC) dataset, with 57,530 individual pancreatic cells from primary PDAC tumors and control pancreases, scMGCA successfully provided annotations on the specific cell types and revealed differential gene expression levels across multiple tumor-associated and cell signalling pathways in PDAC progression through single-cell trajectory and gene set enrichment analysis.

System Requirements

Hardware requirements

scMGCA package requires only a standard computer with enough RAM to support the in-memory operations.

Software requirements

OS Requirements

This package is supported for Linux. The package has been tested on the following systems:

  • Linux: Ubuntu 18.04

Python Dependencies

scMGCA mainly depends on the Python scientific stack.

numpy
scipy
tensorflow
scikit-learn
pandas
sklearn

requirements in https://github.com/Philyzh8/scMGCA

Installation Guide:

Install from PyPi

$ conda create -n scMGCA_env python=3.6.8
$ conda activate scMGCA_env
$ pip install -r requirements.txt
$ pip install scMGCA

Demo

Usage

You can run the scMGCA from the command line:

$ from scMGCA.run import train
$ train(data, highly_genes=500, pretrain_epochs=1000, maxiter=300)

Arguments

Parameter Introduction
data A h5 file. Contains a matrix of scRNA-seq expression values,true labels, and other information. By default, genes are assumed to be represented by columns and samples are assumed to be represented by rows.
highly genes Number of genes selected
pretrain epochs Number of pretrain epochs
maxiter Number of training epochs

Example

$ from scMGCA.run import train
$ data = './dataset/Quake_10x_Bladder/data.h5'
$ train(data, highly_genes=500, pretrain_epochs=1000, maxiter=300)

The result will give NMI and ARI

Data Availability

The real data sets we used can be download in data.

License

This project is covered under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scMGCA-1.0.6.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

scMGCA-1.0.6-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file scMGCA-1.0.6.tar.gz.

File metadata

  • Download URL: scMGCA-1.0.6.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.60.0 importlib-metadata/3.10.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.0

File hashes

Hashes for scMGCA-1.0.6.tar.gz
Algorithm Hash digest
SHA256 d4bc5acf0de33cecf22305a0020a49a2215ceb51d01340990c536a32db0926cf
MD5 4aaaded3d1a7388775688e7162ef7190
BLAKE2b-256 773812f70e7e6bdeab29079c78e95bfcc1e17d8861a1364268d3a324a59c5b0f

See more details on using hashes here.

File details

Details for the file scMGCA-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: scMGCA-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.60.0 importlib-metadata/3.10.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.0

File hashes

Hashes for scMGCA-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9f20cd01ac9d1589b89f98d0bb0c67ee7c4fc25557318cd82d590a9437144e12
MD5 5a2c8213b0aa450edfedb5e78c71ea6b
BLAKE2b-256 aef9871bb1a27927be30ace0b7d2d32bc17987964727225ebcfeb974ec16e993

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page