View source: R/mutiple_testing_correction.R

multiple_testing_correction | R Documentation |

Correction for multiple testing

```
multiple_testing_correction(p.values, method = "BH")
```

`p.values` |
a vector of p.values |

`method` |
method of correction: c( |

Correction for multiple testing

vector of q-values

```
graph = graph_generation(n.nodes = 10, prob.connection = 0.5)
initial_score = c(rep(0,5),0.2, 0.3, 0, 0, 0.5)
names(initial_score) = igraph::V(graph)
Actual_score = actual_score(graph = graph, initial.score = initial_score, damping = 0.7)
Null_score = null_score(graph = graph, initial.score = initial_score, damping = 0.7, N.repeat = 10)
pvalue = pval(actual.scores = Actual_score, null.scores = Null_score, method = "non_parametric")
adj_nodes = multiple_testing_correction(pvalue)
```

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.