Skip to main content

Infer Functional Associations using Variational Autoencoders on -Omics data.

Project description

FAVA: Functional Associations using Variational Autoencoders

fava

Protein networks are commonly used for understanding the interplay between proteins in the cell as well as for visualizing omics data. Unfortunately, most existing high-quality networks are heavily biased by data availability, in the sense that well-studied proteins have many more interactions than understudied proteins. To create networks that can help elucidate functions for the latter, we must start from data that are not affected by this literature bias, in other words, from omics data such as single cell RNA-seq (scRNA-seq) and proteomics. While networks can be inferred from such data through simple co-expression analysis, this approach does not work well due to high sparseness (many transcripts/proteins are not consistently observed in each cell/sample) and redundancy (many similar cells/samples are analyzed) of such data. We have therefore developed FAVA, Functional Associations using Variational Autoencoders, which deals with both issues by compressing these high-dimensional data into a dense, low-dimensional latent space. Calculating correlations in this latent space results in much improved networks compared to the original representation for large-scale scRNA-seq and proteomics data from the Human Protein Atlas, and from PRIDE, respectively. Additionally, these networks, which given the nature of the input data should be free of literature bias, have much better coverage of understudied proteins than existing networks.

PyPI version Documentation Status

Data availability

The Combined Network

Installation:

pip install favapy

favapy as Python library

Read the jupyter-notebook: How_to_use_favapy_in_a_notebook

favapy supports both AnnData objects and count/abundance matrices.

Command line interface

Run favapy from the command line as follows:

favapy <path-to-data-file> <path-to-save-output>

Optional parameters:


-t Type of input data ('tsv' or 'csv'). Default value = 'tsv'.

-n The number of interactions in the output file (with both directions, proteinA-proteinB and proteinB-proteinA). Default value = 100000.

-c The cut-off on the Pearson Correlation scores. This option overwrites the number of interactions. Default value = None.

-d The dimensions of the intermediate\hidden layer. Default value depends on the input size.

-l The dimensions of the latent space. Default value depends on the size of the hidden layer.

-e The number of epochs. Default value = 50.

-b The  batch size. Default value = 32.

If FAVA is useful for your research, consider citing FAVA BiorXiv.

Other Relevant publications:

The STRING database in 2023.

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

favapy-0.3.9.3.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

favapy-0.3.9.3-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file favapy-0.3.9.3.tar.gz.

File metadata

  • Download URL: favapy-0.3.9.3.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for favapy-0.3.9.3.tar.gz
Algorithm Hash digest
SHA256 50a4cd7ba896d7b4094802364d3b266960dab0f339a94317c54b4f11db8b80ca
MD5 53a1ccaf0579c08842359e508e887297
BLAKE2b-256 5b5f18f3d7978f70269b690f8aeb3b1d621222a7b707f6462b3f4cc3a07e8e6e

See more details on using hashes here.

File details

Details for the file favapy-0.3.9.3-py3-none-any.whl.

File metadata

  • Download URL: favapy-0.3.9.3-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for favapy-0.3.9.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3fe1e55e8c043388b08e0fde9222cbc8e75b301ef66e1eb7aeac3e7d8a65ca8f
MD5 955a8bfa8eada670405060bf37693caa
BLAKE2b-256 140dd51867a045f4f1ee6a790a63bc22e01a1a62ef8d17249567b9431879dd61

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