Infer Functional Associations using Variational Autoencoders on -Omics data.
Project description
FAVA: Functional Associations using Variational Autoencoders
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. We demonstrate that 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. We show that these networks, which given the nature of the input data should be free of literature bias, indeed have much better coverage of understudied proteins than existing networks.
Data availability
The Combined Network: https://doi.org/10.5281/zenodo.6803472
Relevant publications:
FAVA: High-quality functional association networks inferred from scRNA-seq and proteomics data https://doi.org/10.1101/2022.07.06.499022
The STRING database in 2023 https://doi.org/10.1093/nar/gkac1000
Installation:
pip install favapy
favapy as Python library
Read the jupyter-notebook: How_to_use_favapy_in_a_notebook It supports both AnnData objects and counts matrices without any preprocessing setps.
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'.
-c
The cut-off on the Pearson Correlation scores. Default value = 0.7.
-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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file favapy-0.3.8.2.tar.gz
.
File metadata
- Download URL: favapy-0.3.8.2.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36af52fa0248f0ed3cac65d981bc2918a5c12fe5cc6c2aca89b171bcde34bc0d |
|
MD5 | 09de2393f97f3fe30661e83c5c8eefe0 |
|
BLAKE2b-256 | 83195c77cb953ed5b5b70b542e2e271f11b77457e5e45e35a579ba8af85e3497 |
File details
Details for the file favapy-0.3.8.2-py3-none-any.whl
.
File metadata
- Download URL: favapy-0.3.8.2-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69a881cb112bebd47bab1f893ea83bf47a2ca2f29d9a98feef6b7c8b107649b8 |
|
MD5 | 08df0670cbfd2ca83a28db198d019d24 |
|
BLAKE2b-256 | 4c4d22909f693c2de407d4bb8e22477a0f579ccbbd7c9aef2fd612fa58d35a01 |