resiplot {maanova} | R Documentation |
This is the function to plot the residuals versus fitted value figure. Two channels, e.g., red and green, are drawn in seperate figures.
resiplot(madata, anovaobj, header)
madata |
An object of class madata . |
anovaobj |
An object of class maanova , which is the output
from fitmaanova . |
header |
Optional. The title of the figure. The default figure title will be "Residual vs. Yhat plot". |
Hao Wu hao@jax.org
# load in Paigen's data data(paigen) # make data object with rep 2 paigen <- createData(paigen.raw, 2) # Note that the data is normalized so normalization is skipped # full model model.full.fix <- makeModel(data=paigen, formula=~Dye+Array+Spot+Strain+Diet+Strain:Diet) anova.full.fix <- fitmaanova(paigen, model.full.fix) # residual plot resiplot(paigen, anova.full.fix)