Description Usage Arguments Value Examples
This function deals with power analysis by calculating the relevant TypeI error, power, and probability of being significant by given global false discovery rate.
1 2 3 |
q |
A numeric value or a vector of numerical value, represent global false discovery rate used for power analysis. |
x |
A vector of numeric values, represent p-values or left-tail areas of test statistics from a differential gene expression study. |
w |
A vector of two numeric values, represent the weights
of the uniform and Beta distributions. See |
a |
A vector of two initial parameter values for Beta distribution. See |
precision |
The precision for convergence. Default value is 1e-8. |
MaxIter |
The maximum iteration for the EM algorhthm. |
theta |
A numerical value, represents the exponential tilting parameter for the fitted mixture model from x. Defualt is NULL. |
alpha |
A numeric value, used to determine the probably null region in method “m1"
(see |
type |
A character value, chosen from “left tail area” and “pvalue”. Default is “left tail area”. |
rel.tol |
the accuracy used in |
tol |
the accuracy used in |
A dataframe consists of q, TypeI, Power, ProbS, respectively. TypeI, Power, and ProbS are calculated based on the rejection region R(q) and the empirical mixture model for x.
The global false discovery rates provided in arguments.
P(R(q)|H_0)
P(R(q)|H_1)
P(R(q))
If theta is provided, then the results contain two data frames as above, one is calculated from the non-exponential tilted mixture model and the other from the exponential tilted mixture model, respectively.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.