plot.noia | R Documentation |
These functions allow a graphic representation of the
result of genetic regressions from linearRegression
and GPmap
.
## S3 method for class '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 class 'noia.gpmap'
barplot(height, GPcol = c("indianred", "palegreen", "royalblue"),
arrowscol = "purple", stderr = TRUE , main=NA, ylab=NA, ...)
x |
An object of class |
loc |
The vector loci to plot (by default, all of them are displayed). |
effect |
Whether genetic effects have to be plotted for each locus. |
epistasis |
Whether pairwise effects have to be plotted. |
height |
An object of class |
GPcol |
Colors for each of the three genotypes. |
arrowscol |
Color of the error bars. |
stderr |
If |
main |
The same as in |
ylab |
The same as in |
ylim |
The same as in |
... |
Additional options for the |
Olivier Ariste, Arnaud Le Rouzic
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.