plot_stability: Stability plot.

Description Usage Arguments Details Value Author(s)

View source: R/plot.R

Description

Produce a ggplot object containing a plot of residual standard deviation against mean count.

Usage

1
plot_stability(y, x = NULL, design = NULL, bins = 20)

Arguments

y

Transformed counts matrix.

x

Optional, original counts matrix.

design

Matrix specifying a linear model with which to calculate residuals.

bins

Number points in the graph.

Details

Genes are partitioned evenly into "bins" bins by average expression level. Mean residual standard deviation is plotted against mean count.

If the variance stabilizing transformation has been successful, this plot should be close to a horizontal line. However it is normal for the standard deviation to drop off for counts below 5.

Value

A ggplot object.

This must be print()-ed to actually plot.

Author(s)

Paul Harrison


MonashBioinformaticsPlatform/varistran documentation built on March 21, 2020, 3:20 p.m.