Plot the coverage
plotCoverageInjectedSignals(
logRr,
seLogRr,
trueLogRr,
region = 0.95,
fileName = NULL
)
A numeric vector of effect estimates on the log scale
The standard error of the log of the effect estimates. Hint: often the standard error = (log(<lower bound 95 percent confidence interval>) - log(<effect estimate>))/qnorm(0.025)
A vector of the true effect sizes
Size of the confidence interval. Default is .95 (95 percent).
Name of the file where the plot should be saved, for example 'plot.png'. See the
function ggsave
in the ggplot2 package for supported file formats.
Plot the fractions of estimates where the true effect size is below, above or within the confidence interval, for one or more true effect sizes.