Calculate retrospective power of your omics experiment.
# Import pvalues
library(qvalue)
data("hedenfalk")
pvalues <- hedenfalk$p
# calculate SRP
library(SRP)
pw <- srp(pvalues, FDR = 0.05)
pw
Install this library:
install.packages("devtools")
devtools::install_github("tpall/SRP")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.