Description Usage Arguments Value

Calculate the positive and negative threshold based on the permutation result. This function is used in both partial_cor.R and non_partial_corr.R

1 | ```
permutation_thres(thres_left, thres_right, p, diff_p)
``` |

`thres_left` |
This is the threshold representing 2.5 percent of the left tail of the empirical distribution curve. |

`thres_right` |
This is the threshold representing 2.5 percent of the right tail of the empirical distribution curve. |

`p` |
This is the number of biomarker candidates present. |

`diff_p` |
This is the permutation results from either permutation_pc or permutation_cor |

A list of the positive and negative thresholds

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.