library(devtools)
install_github("ArtemisZhao/INTRIGUE/R_src")
library(INTRIGUE)
data("heterodata")
This is a simulated datasets with n=5000 experimental units (e.g., genes) and m=2 replicates. The true proportions for the null, the reproducible and the irreproducible signal categories are 0.80, 0.18, 0.02, respectively.
##for convenience, only test on first 100 units
hetero.out.cefn<-hetero(heterodata[1:100,],fdr.level=0.05)
hetero.out.meta<-hetero(heterodata[1:100,],use_cefn=FALSE,fdr.level=0.05)
names(hetero.out.cefn)
## overall proportion
print(hetero.out$est_prop)
Return a list containing the following,
gridweight: estimated weight on each grid point.
ind_prob: individual probability of falling into three groups.
est_prop: estimated overall proportion for three groups.
lfdr: false discovery rate.
significant: decision based on the fdr.level in the input.