View source: R/combined_bound.R
| plot.combined_bound | R Documentation |
Draws the lower bound on the number of true discoveries among the k most
significant hypotheses against k, with the line of slope 1 for
reference.
## S3 method for class 'combined_bound'
plot(x, log = "",
xlab = "Number of most significant hypotheses (k)",
ylab = "True discoveries, at least", main = NULL, ...)
x |
a result of |
log |
passed to |
xlab, ylab, main |
axis labels and title. |
... |
further arguments passed to |
x, invisibly.
ranked_bounds
set.seed(1)
z <- rnorm(2000, mean = c(rep(2, 300), rep(0, 1700)))
plot(combined_bound(z))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.