Description Usage Arguments Value Author(s) See Also Examples
Takes a result object from "comparePower" function and print out a table to summarize important power-related quantities. The results are marginalized, meaning that they are averaged quantities over all strata and simulations. This provides a quick view of the marginal results for power-related quantities under all sample sizes.
1 | summaryPower(powerOutput)
|
powerOutput |
The result object from "comparePower" function. |
A matrix with multiple rows, each for a different sample size. Columns include sample size, specified nomial type I control value (for FDR or p-values), actual FDR, marginal power, averaged number of true and false discoveries, and false discovery costs.
Hao Wu <hao.wu@emory.edu>
runSims, comparePower
1 2 3 4 5 6 7 8 | ## Not run:
simOptions = RNAseq.SimOptions.2grp()
simRes = runSims(Nreps=c(3,5,7), sim.opts=simOptions, nsims=5,
DEmethod="edgeR")
powers = comparePower(simRes)
summaryPower(powers)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.