Plot marginal false discovery rate curves
Plot marginal false discovery rate curves from an "mfdr"
or
"perm.ncvreg"
object.
## S3 method for class 'mfdr' plot(x, type=c("mFDR", "EF"), log.l=FALSE, selected=TRUE, legend=TRUE, ...)
x |
A |
type |
What to plot on the vertical axis. |
log.l |
Should horizontal axis be on the log scale? Default is FALSE. |
selected |
If |
legend |
For |
... |
Other graphical parameters to pass to |
Patrick Breheny
Breheny P (2019). Marginal false discovery rates for penalized regression models. Biostatistics, 20: 299-314.
data(Prostate) fit <- ncvreg(Prostate$X, Prostate$y) obj <- mfdr(fit) obj[1:10,] # Some plotting options plot(obj) plot(obj, type="EF") plot(obj, log=TRUE) # Comparison with perm.ncvreg op <- par(mfrow=c(2,2)) plot(obj) plot(obj, type="EF") pmfit <- perm.ncvreg(Prostate$X, Prostate$y) plot(pmfit) plot(pmfit, type="EF") par(op)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.