View source: R/MultiOmicsPower14.R
powerPlot | R Documentation |
Plotting statistical power versus sample size per omic from optimal sample size results. and statistical power versus Cohen's d cutoffs (in percentiles).
powerPlot(parameters, optimalSampleSize, omicCol = NULL)
parameters |
List with as many elements as omic data types. For each omic, each element of this list is another list containing the different parameters needed to compute power.
See |
optimalSampleSize |
R object containing the results of |
omicCol |
The color that will be used to plot each omic. It must be a vector with length equal to the number of omics. If it is NULL (default), default colors are used. |
List containing the values used for the plot or plots.
Sonia Tarazona
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.