Description Usage Arguments Value Examples
Plot graphical genotypes.
1 2 3 4 |
genos |
The output of readABHgenotypes |
markerToPlot |
A character vector of marker names which appear in the plot. Defaults to all. |
individualsToPlot |
A character vector of individual names which appear in the plot. Defaults to all. |
chromToPlot |
A character vector of chromosome names which appear in the plot. Defaults to all. |
alleleColors |
A character vector of length 4 giving the color names or values to use for the A,B,H and n.d genotypes. Defaults to orange, blue, green and black. |
textSize |
The size of all text elements in the plot. Useful for making a nice plot. Defaults to 12. |
showMarkerNames |
Show the marker names along the x axis. This and showIndividualNames are useful when you display only a few markers and want them labeled. Defaults to FALSE. |
showIndividualNames |
Show individual names along the y axis. |
Graphical genotypes.
1 2 3 4 5 6 7 | ## Not run: plotGenos(genotypes)
markerNames <- c("marker1", "marker2", "marker3")
individualNames <- c("F2_100", "F2_101", "F2_102", "F2_103")
someColors <- c("black", "red", "gold", "white")
## Not run: plotgenos(genotypes, markerNames, individualNames, 1:3, someColors)
## Not run: p <- plotGenos(genotypes)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.