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

Description Usage Arguments Value

View source: R/helper_function.R

Description

This function calculates the positive and negative thresholds based on the permutation result.

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 distributuion curve.

thres_right

This is the threshold representing 2.5 percent of the right tail of the empirical distributuion curve.

p

This is the number of biomarker candidates present.

diff_p

This is the permutation result from either permutation_cor or permutation_pc.

Value

A list of positive and negative thresholds.


INDEED documentation built on Nov. 8, 2020, 11:12 p.m.