Make a mean-variance plot
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", ""),
...
)
Plots the mean-variance trend
a dataset or matrix with d1, d2 and effect column
the transformation function for the variance and its inverse, possibly as strings
the title of the plot
log-transform of the axes, as in plot()
passed on to plot()
This is a crucial graphical check for deciding on the