# generate simulated data set from conditional normal distribution
set.seed(1234567)
es.sim = genSimData.BayesNormal(nCpGs = 100,
nCases = 20, nControls = 20,
mu.n = -2, mu.c = 2,
d0 = 20, s02 = 0.64, s02.c = 1.5, testPara = "var",
outlierFlag = FALSE,
eps = 1.0e-3, applier = lapply)
print(es.sim)
png(file="qplot.png")
quantilePlot(
dat = exprs(es.sim),
probs = c(0, 0.05, 0.25, 0.5, 0.75, 0.95, 1),
plotOutPutFlag = FALSE,
requireLog2 = FALSE,
sortFlag = TRUE)
dev.off()
Run the code above in your browser using DataLab