geno.image | R Documentation |
Plot a grid showing which the genotype data in a cross.
geno.image(x, chr, reorder=FALSE, main="Genotype data",
alternate.chrid=FALSE, col=NULL, ...)
x |
An object of class | ||||||
chr |
Optional vector indicating the chromosomes to be drawn in
the plot. This should be a vector of character strings referring to
chromosomes by name; numeric values are converted to strings. Refer
to chromosomes with a preceding | ||||||
reorder |
Specify whether to reorder individuals according to their phenotypes.
| ||||||
main |
Title to place on plot. | ||||||
alternate.chrid |
If TRUE and more than one chromosome is plotted, alternate the placement of chromosome axis labels, so that they may be more easily distinguished. | ||||||
col |
Vector of colors. The first is for missing genotypes,
followed by colors for each of the genotypes. If | ||||||
... |
Passed to |
Uses image
to plot a grid with the genotype
data. The genotypes AA, AB, BB are displayed in the colors red, blue,
and green, respectively. In an intercross, if there are genotypes
"not BB" and "not AA", these are displayed in purple and orange,
respectively. White pixels indicate missing data.
None.
Karl W Broman, broman@wisc.edu
plot.cross
,
plotMissing
, plotGeno
,
image
data(listeria)
geno.image(listeria)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.