Learn R Programming

sleuth (version 0.27.3)

plot_vars: Plot technical variance versus observed variance

Description

Plot technical variance versus observed variance

Usage

plot_vars(obj, which_beta = NULL, which_model = "full", sig_level = 0.1,
  point_alpha = 0.2, sig_color = "red", xy_line = TRUE,
  xy_line_color = "red", highlight = NULL, highlight_color = "green")

Arguments

obj

a sleuth object

which_model

a character string denoting which model to use for the test

point_alpha

the alpha for the points

xy_line

if TRUE, plot the xy_line

xy_line_color

a string denoting the color for the xy line

highlight

a data.frame with one column, target_id. These points will be highlighted in the plot. if NULL, no points will be highlighted.

highlight_color

the color to highlight points.

Value

a ggplot2 object