Overview of scMSI model. scMSI is a deep variational autoencoder framework with a contrastive self-expressive layer, which integrates the multi-level omics data by learning the consistent sample affinity (Figure A, B). For illustrative purposes, we take CITE-seq data as an example, which allows paired measurements of RNA and surface proteins in a single cell. Suppose that
- the encoder component; 2. the self-expressive component; 3. the decoder component scMSI provides a paradigm to integrate multiple omics data even with weak relations by contrastive loss, which learns consistent affinity matrix between cells (i.e., self-expressive coefficients). scMSI uses a unified sample relationship/affinity to integrate the multi-omics data based on the contrastive self-expressive layer, which captures consistent and complementary information of different modalities and enables superior performance on the heterogeneous single-cell multimodal data.
Installation was tested on Windows10 with Python 3.8.15 and torch 1.13.0 on a machine with one 8-core Intel(R) Xeon(R) Gold 2140B CPU addressing with 128GB RAM. scMSI is implemented in the Pytorch framework. Please run scMSI on CUDA if possible.
git clone https://github.com/ChengmingZhang-CAS/scMSI-master.git
cd scMSI
-
Firstly, install conda: https://docs.anaconda.com/anaconda/install/index.html
-
Then, automatically install all used packages (described by "used_package.txt") for scMSI in a few mins.
conda create -n scMSI python=3.9
source activate
conda activate scMSI
pip install -r used_package.txt
