plotMeanVarFit {BIGL}R Documentation

Make a mean-variance plot

Description

Make a mean-variance plot

Usage

plotMeanVarFit(
  data,
  trans = "identity",
  invtrans = switch(trans, identity = "identity", log = "exp"),
  main = paste(switch(trans, identity = "No", log = "log"), "transformation"),
  log = switch(trans, identity = "", log = "y", ""),
  ...
)

Arguments

data

a dataset or matrix with d1, d2 and effect column

trans, invtrans

the transformation function for the variance and its inverse, possibly as strings

main

the title of the plot

log

log-transform of the axes, as in plot()

...

passed on to plot()

Details

This is a crucial graphical check for deciding on the

Value

Plots the mean-variance trend


[Package BIGL version 1.6.6 Index]