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

View source: R/helper_function.R

permutation_thresR Documentation

Calculate the positive and negative thresholds based on the permutation result

Description

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

Usage

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.

diff_p

This is the permutation result from either permutation_cor or permutation_pc.

Value

A list of positive and negative thresholds.


ressomlab/INDEED documentation built on Aug. 3, 2022, 4:45 p.m.