Skip to main content

A unsupervised method for the integrative analysis of single-cell multi-omics data based on non-negative matrix factorization.

Project description

JSNMFup_py

JSNMFuP: A unsupervised method for the integrative analysis of single-cell multi-omics data based on non-negative matrix factorization.

This is the Python implementation of the JSNMFuP algorithm. Note that this implementation supports GPU acceleration.

1. Installation

You can use the following command to install JSNMFuP:

pip install JSNMFuP-py

2. Usage

The main class "JSNMFuP" needs to be initialized with three and more objects for the "RNA", "ATAC" data and the "the feature association matrix between 'RNA' and 'ATAC' data. The preprocessed data are stored in 'RNA.X', 'ATAC.X' and 'R'. And the real cell labels should be stored in 'RNA.obs['celltype']'. Note that the data preprocessing process is done via python. The maximum number of epochs for a run (i.e., the 'max_epochs' parameter) is set to 200 by default. therefore, it is very simple to initialize the JSNMFuP model with the following code:

from JSNMFuP.model import JSNMFuP
test_model = JSNMFuP(rna,atac,R)

After initializing, run the model is also quite easy:

test_model.run()

The result is saved in 'test_model.result', which is a dict, and the major output of JSNMFuP, the complete graph S, can be get with easy access:

S = test_model.result['S']

'JSNMFuP' class also has other methods, you can use the 'help' or '?' command for more details explanations of the methods.

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

jsnmfup-0.0.3.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

JSNMFuP-0.0.3-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file jsnmfup-0.0.3.tar.gz.

File metadata

  • Download URL: jsnmfup-0.0.3.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.10

File hashes

Hashes for jsnmfup-0.0.3.tar.gz
Algorithm Hash digest
SHA256 d14f649de8912f454cee36cf697348f70511168170c6428be172f9d639728332
MD5 2a8468444aa8bede16549280cf549a4e
BLAKE2b-256 f966389a9f2d711dc703e5edb2541d103d34f03c6526504f06beaff4c1a6d98f

See more details on using hashes here.

File details

Details for the file JSNMFuP-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: JSNMFuP-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.10

File hashes

Hashes for JSNMFuP-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cb750356b877c74c191ea8083cdffa9c04d88fa537b265e002a2dab3635e2c1f
MD5 5fe11ed554a9598ecb6ced37f5c09892
BLAKE2b-256 77936ae6144e714f04cc0ec5f68ec93c2e66d5370a12fed5f38d419f08aa0f38

See more details on using hashes here.

Supported by

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