plot_mean_var: Plot mean and variance

plot_mean_varR Documentation

Plot mean and variance

Description

This plot returns a scatterplot of the mean by the variance of gene expression. A linear relationship between these values for RNAseq data suggest that an appropriate transformation such as the Variance Stabilizing Transformation should be applied.

Usage

plot_mean_var(cem, ...)

## S4 method for signature 'CEMiTool'
plot_mean_var(cem, filter = FALSE)

Arguments

cem

Object of class CEMiTool

...

Optional parameters

filter

Logical. Whether or not to use filtered data for CEMiTool objects (Default: FALSE).

Value

Object of class CEMiTool containing a mean and variance plot

Examples

# Get example CEMiTool object
data(cem)
# Plot mean and variance plot
cem <- plot_mean_var(cem)
# Check results
show_plot(cem, 'mean_var')


csbl-usp/CEMiTool documentation built on March 27, 2024, 5:14 a.m.