Learn R Programming

sleuth (version 0.29.0)

plot_vars: Plot technical variance versus observed variance

Description

Plot technical variance versus observed variance

Usage

plot_vars(obj, test = NULL, test_type = "wt", 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

test

the name of the test to highlight significant transcripts for

test_type

either 'wt' for wald test or 'lrt' for likelihood ratio test

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