Description Usage Arguments Author(s) Examples
Visualization for objects of class relationshipMatrix
using a heatmap of pairwise relatedness coefficients.
1 2 |
x |
Object of class |
y |
Optional for comparisons of objects of class |
levelbreaks |
|
axes |
a |
cols |
a |
groupLines |
add positions to make groups more visible |
... |
further graphical arguments passed to function |
Valentin Wimmer and Hans-Juergen Auinger
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # small pedigree
ped <- simul.pedigree(gener=4,7)
gp <- create.gpData(pedigree=ped)
A <- kin(gp,ret="add")
plot(A)
# big pedigree
## Not run:
library(synbreedData)
data(maize)
K <- kin(maize,ret="kin")
U <- kin(codeGeno(maize),ret="realized")/2
# equal colorkeys
plot(K,levelbreaks=seq(0,2,length=9))
plot(U,levelbreaks=seq(0,2,length=9))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.