These functions allow a graphic representation of the
result of genetic regressions from linearRegression
and GPmap
.
# S3 method for noia.linear
plot(x, loc = 1:x$nloc, effect=TRUE, epistasis = TRUE,
ylim=range(GPmap(x)[,1]) + c(-1,1)*max(GPmap(x)[,2]), ...)
# S3 method for noia.gpmap
barplot(height, GPcol = c("indianred", "palegreen", "royalblue"),
arrowscol = "purple", stderr = TRUE , main=NA, ylab=NA, ...)
An object of class "noia.linear"
for the
plot
function, or of class "noia.gpmap"
for the
barplot
function.
The vector loci to plot (by default, all of them are displayed).
Whether genetic effects have to be plotted for each locus.
Whether pairwise effects have to be plotted.
An object of class "noia.gpmap"
.
Colors for each of the three genotypes.
Color of the error bars.
If TRUE
, error bars stand for starndard errors.
Otherwise, error bars are 95% condidence intervals.
The same as in plot
.
The same as in plot
.
The same as in plot
.
Olivier Ariste, Arnaud Le Rouzic