https://github.com/mikelkou/fava
Functional Associations using Variational Autoencoders
https://github.com/mikelkou/fava
co-expression deep-learning networks networks-biology proteomics single-cells
Last synced: 3 months ago
JSON representation
Functional Associations using Variational Autoencoders
- Host: GitHub
- URL: https://github.com/mikelkou/fava
- Owner: mikelkou
- License: mit
- Created: 2022-03-14T10:15:43.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2026-01-19T22:03:35.000Z (5 months ago)
- Last Synced: 2026-01-20T05:19:27.090Z (5 months ago)
- Topics: co-expression, deep-learning, networks, networks-biology, proteomics, single-cells
- Language: Jupyter Notebook
- Homepage:
- Size: 176 MB
- Stars: 43
- Watchers: 1
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#
FAVA: Functional Associations using Variational Autoencoders
[](https://badge.fury.io/py/favapy)
[](https://fava.readthedocs.io/en/latest/?badge=latest)


FAVA is a method used to construct protein networks based on omics data such as single-cell RNA sequencing (scRNA-seq) and proteomics. Existing protein networks are often biased towards well-studied proteins, limiting their ability to reveal functions of understudied proteins. FAVA addresses this issue by leveraging omics data that are not influenced by literature bias.
Read the [documentation](https://fava.readthedocs.io/en/latest/).

## Data availability
[The Combined Network](https://doi.org/10.5281/zenodo.6803472)
## Installation:
```
pip install favapy
```
## favapy as Python library
Read the [How_to_use_favapy_in_a_notebook](https://github.com/mikelkou/fava/blob/main/How_to_use_favapy_in_a_notebook.ipynb) or/and the [documentation](https://fava.readthedocs.io/en/latest/).
Relevant parameters for [fava.cook](https://fava.readthedocs.io/en/latest/API.html#fava.cook).
favapy supports both AnnData objects and count/abundance matrices.
## Command line interface
Run favapy from the command line as follows:
```
favapy
```
#### 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 Correlation scores.The scores can range from 1 (high correlation) to -1 (high anti-correlation). 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.
-cor Type of correlation method ('pearson' or 'spearman'). Default value = 'pearson'
```
If FAVA is useful for your research, consider citing [FAVA BiorXiv](https://doi.org/10.1101/2022.07.06.499022).
#### Other Relevant publications:
[The STRING database in 2023](https://doi.org/10.1093/nar/gkac1000)