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.1.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.1-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jsnmfup-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 bdc15d638591bfd100f62a2903fedc3fbd92a2e3bfc5ae94a62780397d48e278
MD5 995b3a4910ca075b8f7818f1fc2d1a98
BLAKE2b-256 84eb7c104433a497f27c741a7f05b1d5b258812e0f746d30afcd2b41b4cb415b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: JSNMFuP-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f4c336f8f0fafbd06d802fdfa97d0a44029fe1c66b3f50072d2b8d57c972fd78
MD5 3dbbac356d9e57e2de3c4cc42064b8b3
BLAKE2b-256 dd7b59e7faa5b63d0e57b8662244a3c6272dbc9c75671b09d0b4bc5ebf2c085c

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