plot.fPi0: Plot the estimated functional proportion

Description Usage Arguments Value

View source: R/plot.fpi0.R

Description

Plot the estimated functional proportion for different choices of tuning parameter "lambda".

Usage

1
2
## S3 method for class 'fPi0'
plot(x, horizontal.line = FALSE, subsample = 10000, ...)

Arguments

x

fPi0 object

horizontal.line

A logical variable TRUE/FALSE, indicating whether to draw a horizontal line showing the Storey estimate of a constant pi0(z) for each choice of lambda

subsample

Maximum number of points to plot; otherwise randomly sampled (if too many points are plotted, it is impossible to distinguish dotted and solid lines)

...

Other plotting parameters (not used)

Value

A ggplot2 graph plotting the functional proportion pi0(z) as a function of the informative variable z. For information on z, please refer to fqvalue or estimate_fpi0


StoreyLab/fFDR documentation built on March 8, 2021, 10:14 p.m.