Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:saezlab/networkcommons into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
deeenes committed Sep 10, 2024
2 parents f47d670 + 80b0ea6 commit f699697
Show file tree
Hide file tree
Showing 11 changed files with 616 additions and 13,346 deletions.
Binary file added docs/src/_static/nc_moon_comp_edgecases.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/_static/nc_moon_comp_normal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/_static/nc_moon_core.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions docs/src/contents.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ NetworkCommons: Table of Contents

vignettes/1_quickstart
vignettes/2_multiple_methods
vignettes/2_moon
vignettes/3_evaluation_decryptm
vignettes/4_cptac_phosphoactivity
vignettes/3_evaluation_offt_path
vignettes/4_moon
vignettes/5_evaluation_decryptm
vignettes/6_cptac_phosphoactivity
35 changes: 35 additions & 0 deletions docs/src/methods.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ MOON

MOON (meta-footprint method) performs iterative footprint activity scoring and network diffusion from a set of target nodes to generate a sign consistent network (https://doi.org/10.1101/2024.07.15.603538). Starting from a set of weighted target nodes it calculates a weight for the next layer of upstream nodes using a univariate linear model. This process is repeated until a set of source nodes or a certain number of steps is reached. Hereby, any source node with an incoherent sign between MOON and the input sign is pruned out along with all incoming and outgoing edges. Additionally, edges between two inconsistent nodes are removed.


**Input:** Set of weighted target nodes (and optionally weighted source nodes), network graph

**Node weights:** w(v) ∈ ℝ
Expand All @@ -120,6 +121,40 @@ MOON (meta-footprint method) performs iterative footprint activity scoring and n

**Functions:** See API documentation for :ref:`MOON <api-moon>`.

Preprocessing
~~~~~~~~~~~~~

The MOON scoring system starts by removing self-interactions and interactions with non-defined signs (neither +1 nor -1). Then, we must add compartimental information to the metabolic measurements that will be used as downstream measurements.
Then, we filter out those inputs that cannot be mapped to the prior knowledge network.

Network compression
~~~~~~~~~~~~~~~~~~~

This is one of the most important parts of this vignette. Here, we aim to remove redundant information from the network, in order to reduce its size without compromising the information contained in it. A common example would be the following:

.. image:: ./_static/nc_moon_comp_normal.png
:alt: MOON
:width: 1000px

However, in other cases, we would lose information:

.. image:: ./_static/nc_moon_comp_edgecases.png
:alt: MOON
:width: 1000px

MOON scoring
~~~~~~~~~~~~

.. image:: ./_static/nc_moon_core.png
:alt: MOON
:width: 1000px

Network decompression and solution network obtention
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

To finish, the compressed nodes are restored to their original state, and the solution network is obtained by establishing a threshold for the MOON scores of the nodes.
In addition, users can rename the nodes to human-readable names.

-----------------
ILP-based methods
-----------------
Expand Down
5,586 changes: 0 additions & 5,586 deletions docs/src/vignettes/1_offtarget_panacea.ipynb

This file was deleted.

Loading

0 comments on commit f699697

Please sign in to comment.