View source: R/separation_Significance.R

Calculates the separation of two set of targets on a network and assigns a p-value to it. Often used to measure separation of disease modules in a interactome. Separation is calculated as in Menche, J. et al (2015) <doi:10.1126/science.1257601>. p-values are calculates based on the permutation of nodes, you can set the full network to be in the set for permutation or can select the ones you include as input.

1 2 3 4 5 6 7 | ```
separation_Significance(
G,
ST,
Threads = 10,
N = 1000,
correct_by_target = TRUE
)
``` |

`G` |
The original graph (often an interactome / PPI). |

`ST` |
Set-Target data. It is a data.frame with two columns. ID and Target. |

`Threads` |
How many threads you'd like to use (for parallel computation). |

`N` |
= 1000 The number of permutations |

`correct_by_target` |
TRUE by default. If you want to use the set of targets for the permutation or the full network. |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.