plotRes(x, labels = FALSE, text.size = 4, ...)plotResQQ(x, distribution = "norm", ..., line.estimate = NULL, conf = 0.9, labels = FALSE, text.size = 4)
solarPolygenic
.plotRes
function, indicating if the labels of IDs
(which residuals are outside the 3 * sd interval) are to be plotted.
A logical value for plotResQQ
function,
indicating if the samples (their IDs) outside the confidence intervals are to be plotted."norm"
.Plot the residuals on scatter or quantile-quantile plots.
plotRes
function makes a scatter plot of fitted values vs. residuals.
Note that the residuals returned by SOLAR include both random effects,
i.e. house-hold, genetic and residuals itself.
plotResQQ
function plots quantile-quantile (QQ) plot of the residuals.
## Not run: # ### basic (univariate) polygenic model # mod <- solarPolygenic(trait1 ~ age + sex, dat30) # # plotRes(mod) # # plotResQQ(mod) # # ## End(Not run)
solarPolygenicClass