Learn R Programming

sleuth (version 0.29.0)

plot_ma: MA plot

Description

Make an 'MA plot' for a given test. MA plots display, for each transcript, the mean of abundances across samples on the x-axis and fold change on the y-axis.

Usage

plot_ma(obj, test, test_type = "wt", which_model = "full",
  sig_level = 0.1, point_alpha = 0.2, sig_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. NB: Currently only the wald test is supported.

which_model

a character string denoting which model to use for the test

point_alpha

the alpha for the points

Value

a ggplot2 object