permutation_thres: Calculate the positive and negative threshold based on the...

Description Usage Arguments Value

Description

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

Usage

1
permutation_thres(thres_left, thres_right, p, diff_p)

Arguments

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

Value

A list of the positive and negative thresholds


kg737/INDEED_Patch documentation built on May 22, 2019, 6:32 p.m.