[3bfed4]: / man / permutation_thres.Rd

Download this file

27 lines (23 with data), 878 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helper_function.R
\name{permutation_thres}
\alias{permutation_thres}
\title{Calculate the positive and negative thresholds based on the permutation result}
\usage{
permutation_thres(thres_left, thres_right, p, diff_p)
}
\arguments{
\item{thres_left}{This is the threshold representing 2.5 percent of the left tail of the
empirical distributuion curve.}
\item{thres_right}{This is the threshold representing 2.5 percent of the right tail of the
empirical distributuion curve.}
\item{p}{This is the number of biomarker candidates.}
\item{diff_p}{This is the permutation result from either permutation_cor or permutation_pc.}
}
\value{
A list of positive and negative thresholds.
}
\description{
This function calculates the positive and negative thresholds based on the
permutation result.
}