plot.fqvalue: Scatterplot comparing p-value to quantile of informative...

Description Usage Arguments Value

View source: R/plot.fqvalue.R

Description

Construct a scatterplot comparing the p-value to the quantile of the informative variable, coloring points either based on an oracle procedure if it is available or based on the thresholds for the functional qvalue.

Usage

1
2
3
4
5
6
7
8
## S3 method for class 'fqvalue'
plot(
  x,
  pi0 = TRUE,
  threshold = c(0.005, 0.01, 0.05, 0.1),
  cloglog = FALSE,
  ...
)

Arguments

x

fqvalue object; an oracle procedure is available if the column oracle is included

pi0

A logical value TRUE/FALSE, indicating whether a second panel of the estimated pi0(z) should be shown underneath the scatterplot (default TRUE)

threshold

Vector of thresholds used for colors on the graph (default c(.005, .01, .05, .1))

cloglog

A logical value TRUE/FALSE, indicating whether the plot should be on a log(-log(pvalue)) scale (default FALSE)

...

Extra arguments (not used)

Value

ggplot object (print to show the plot)


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