Description Usage Arguments Value References Examples

`apf_fdr`

returns robust estimates of the Average Power Function (APF)
and Bayes False Discovery Rate (FDR) for each value of the threshold Gamma
on the p-value and Tau on the correlation coefficient.

1 2 |

`data` |
Either a vector, matrix or dataframe. |

`type` |
Set |

`corr` |
The type of correlation to use when |

`lobs` |
When |

`seed` |
A seed (natural number) for the resampling. |

`gamm` |
The threshold gamma on the p-values to explore (typically |

A list with four elements. A vector `APF_gamma`

containing the robust
estimates of APF (5th quantiles) for all the gamma values set in `gamm`

. A vector
`FDR_gamma`

with the robust estimates of Bayes FDR (95th quantiles). A
vector `tau_gamma`

with the correlation coefficients *tau* for each gamma
value explored and another vector with the relative values gamma (`gammaval`

).

Quatto, P, Margaritella, N, et al. Brain networks
construction using Bayes FDR and average power function. *Stat Methods Med Res*.
Published online May 14th, 2019; DOI:10.1177/0962280219844288.

1 2 3 4 5 6 |

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.