Compute the power and effect size for the object obtained from get.stats.
# S3 method for class 'power'
compute(
power4omics.stats,
sample.size.range = c(0, 50),
power.threshold = 0.8,
distribution.type = NULL,
df = NULL
)
An object of class power4omics.stats
.
Numeric vector of length 2, indicating minimum and maximum of the range of number of samples in which test the power. Default: c(0,50)
.
number between 0 and 1 indicating the threshold to plot for the power. Default: 0.8
(80 percent power).
Integer indicating the number of degrees of freedom. Default: NULL
, automatically defined from the power4omics.stats object.
An object of class power4omics.power
.