Plot power profile, specifying FDR level and sample size. It will return the image as well as the predicted power at various sample sizes.
PlotPowerProfile(mSetObj=NA, fdr.lvl, smplSize, imgName, format, dpi, width)
Input the name of the created mSetObj (see InitDataObjects)
Specify the false-discovery rate level.
Specify the maximum sample size, the number must be between 60-1000.
Specify the name to save the image as.
Specify the format of the image to save it as, either "png" or "pdf".
Specify the dots-per-inch (dpi). By default it is 72, for publications the recommended dpi is 300.
Specify the width of the image. NA specifies a width of 9, 0 specifies a width of 7, otherwise input a chosen width.