Generate gene variance plots

plot_vg(gene_var_stats, plots = "all", loess_fit = NULL)

Arguments

gene_var_stats

a data.frame of statistics generated by compute_vg_stats()

plots

a character vector specifying one or more of the following options (Default is "all"):

  • qq_z_plot

  • qq_loess.z_plot

  • z_density_plot

  • loess.z_density_plot

  • dispersion_fit_plot

  • all

loess_fit

a loess fit object as generated by gene_loess_fit(). This is required only for the dispersion_fit_plot.

Value

a list object with multiple ggplot2 plot objects depending on the plots parameter