Description Usage Arguments Value Author(s) Examples
Using histogram-alike graph to visualize the distribution of all genes and DE genes in all user specified strata.
1 | plotPowerHist(powerOutput, simResult, main = "Histogram of power", return = FALSE)
|
powerOutput |
Result object from "comparePower" function. |
simResult |
Result object from "runSims" function. |
main |
Figure caption. |
return |
Return a matrix for average number of genes and true DE genes in each strata. |
A matrix of two rows. First row is for number of genes, and the second row is for number of DE genes. Columns are strata.
Hao Wu <hao.wu@emory.edu>
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
simOptions = RNAseq.SimOptions.2grp()
## run a few simulations
simRes = runSims(Nreps=c(3,5,7), sim.opts=simOptions, nsims=5,
DEmethod="edgeR")
## using FDR 0.1 to call DE, then look at power curves and summary
powers = comparePower(simRes)
plotPowerHist(powers, simRes)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.