Description Usage Arguments Value Author(s) References Examples

View source: R/NetworkToolbox--master.R

Filters the network based on an r-value, alpha, adaptive alpha (see Perez & Pericchi, 2014),
bonferroni, false-discovery rate (FDR, *fdrtool* package), or proportional density (fixed number of edges) value

1 2 3 |

`data` |
Can be a dataset or a correlation matrix |

`a` |
When thresh = "alpha", "adaptive", and "bonferroni" an alpha threshold is applied (defaults to |

`thresh` |
Sets threshold. Defaults to "alpha".
Set to any value 0> |

`n` |
Number of participants in sample.
Defaults to the number of rows in the data.
If input is a correlation matrix, then n |

`normal` |
Should data be transformed to a normal distribution? Defaults to FALSE. Data is not transformed to be normal. Set to TRUE if data should be transformed to be normal (computes correlations using the cor_auto function) |

`na.data` |
How should missing data be handled?
For "listwise" deletion the |

Returns a list containing a filtered adjacency matrix (A) and the critical r value (r.cv)

Alexander Christensen <[email protected]>

Perez, M. E., & Pericchi, L. R. (2014).
Changing statistical significance with the amount of information: The adaptive *a* significance level.
*Statistics & Probability Letters*, *85*, 20-24.

Strimmer, K. (2008).
fdrtool: A versatile R package for estimating local and tail area-based false discovery rates.
*Bioinformatics*, *24*(12), 1461-1462.

1 2 3 4 5 6 7 8 9 |

AlexChristensen/NetworkToolbox documentation built on May 6, 2018, 7:39 p.m.

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.