hetero {INTRIGUE} | R Documentation |
Heterogeneity Evaluation
Description
Evaluating the overall and individually heterogeneity and reproducibility for the given individuals(units) shared in different replicates.
Usage
hetero(
data,
use_cefn = TRUE,
rep = NULL,
irre = NULL,
phi_min = NULL,
phi_max = NULL,
sq_em_tol = 1e-04,
fdr.level = NULL,
sample_size = NULL
)
Arguments
data |
A dataset which is constructed by pairs of coefficient
values |
use_cefn |
A boolean, denoting whether to use CEFN prior. If the value is TRUE, CEFN prior is used, else, META prior is applied. The default value is TRUE. |
rep |
A vector, denoting all the |
irre |
A vector, denoting all the |
phi_min |
A value which determines the maximum |
phi_max |
A value which determines the minimum |
sq_em_tol |
A small, positive scalar that determines when iterations should be terminated in squarem algorithm.
The default value is |
fdr.level |
The user-defined rejection level for false discovery rate. |
sample_size |
The user-defined sample size. |
Value
A list with the following components:
gridweight |
The final optimal weight vector evaluated on each grid point. |
ind_prob |
A matrix denoting the converged probability for each individual being inside the three different groups, namely, the null, the reproducible and the irreproducible group. |
est_prop |
The estimated proportion value for the three different groups, namely, the null, the reproducible and the irreproducible group. |
lfdr |
The local false discovery rate based on the null hyppthesis of
unit belonging to |
significant |
If fdr.level is specified, a significant object recording True or False will be returned |
Examples
data("heterodata")
hetero.out<-hetero(heterodata,fdr.level=0.05)
names(hetero.out)
print(hetero.out$est_prop)
## for CRAN check
hetero.out<-hetero(heterodata[1:100,],fdr.level=0.05)