RUV Projection Plot
Projection plot of an RUV regression fit.
ruv_projectionplot(fit, X.col = 1, factor = "gradient", adjusted = TRUE)
fit
: The results of a call to ruv_summary
.X.col
: Which column of the X matrix to make the plot for. Can be either an integer or a character string.factor
: Which unwanted factor to use (horizontal axis). Must be either an integer or the character string "gradient".adjusted
: Whether the plot should be adjusted for unwanted factors other than the one being plotted. Not relevant when factor = "gradient"
.A ggplot.
Johann Gagnon-Bartsch