Description Usage Arguments Value Author(s) Examples
Summarize the simulated power in a list
1 | power.simu(avg.power, nrep.simu, ngenes.null)
|
avg.power |
a matrix of average test result with each element being the proportion of rejection in t-test for that observation the 1st ngenes.null rows store result for observations from Ho |
nrep.simu |
interested sample size fr power calculation |
ngenes.null |
the number of observations from Ho |
true.power |
the matrix of calculated power with dimension: ngenes x length(nrep.simu) |
propn.80 |
a vector of propn.80 with length = ngenes |
Peng Liu peng_liu@groton.pfizer.com
1 2 | avg.power <- matrix(runif(1000,0,1), nr = 100, nc = 10)
a <- power.simu(avg.power, nrep.simu = c(3,5,8), ngenes.null = 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.