plot.relationshipMatrix {synbreed} | R Documentation |
Visualization for objects of class relationshipMatrix
using a heatmap of pairwise relatedness coefficients.
## S3 method for class 'relationshipMatrix' plot(x, y=NULL, levelbreaks=NULL, axes=TRUE, cols=NULL, groupLines = NULL, ...)
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
# 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)