ruv_ecdf: RUV P-value Empirical CDF Plot

Description Usage Arguments Value Author(s)

Description

Plots an ECDF of p-values returned by a call to ruv_summary

Usage

1
ruv_ecdf(fit, X.col = "all", power = 1, uniform.lines = 0)

Arguments

fit

The results of a call to ruv_summary.

X.col

Which column of the X matrix to make the plot for, i.e. which factor's p-values to plot. Can be either an integer or a character string. Or, if "all" (the default), use the F-test p-values.

power

A power transformation of the x and y axes. For example, set to 1/2 for a square-root transformation. This can help to see the behavior of the ECDF near 0.

uniform.lines

A vector of values between 0 and 1, or NULL. If specified, light gray lines will be drawn, showing (locally) uniform distributions.

Value

A ggplot.

Author(s)

Johann Gagnon-Bartsch


ruv documentation built on Aug. 31, 2019, 1:04 a.m.