plotNoia: Graphical display of genetic regressions and...

plot.noiaR Documentation

Graphical display of genetic regressions and genotype-phenotype maps

Description

These functions allow a graphic representation of the result of genetic regressions from linearRegression and GPmap.

Usage

## 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, ...)

Arguments

x

An object of class "noia.linear" for the plot function, or of class "noia.gpmap" for the barplot function.

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 "noia.gpmap".

GPcol

Colors for each of the three genotypes.

arrowscol

Color of the error bars.

stderr

If TRUE, error bars stand for starndard errors. Otherwise, error bars are 95% condidence intervals.

main

The same as in plot.

ylab

The same as in plot.

ylim

The same as in plot.

...

Additional options for the plot and barplot routines.

Author(s)

Olivier Ariste, Arnaud Le Rouzic


noia documentation built on March 31, 2023, 6:45 p.m.