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