plot.gpmap {gpmap} | R Documentation |
Function for creating lineplots for genotype-phenotype (GP) map (an object of class gpmap
)
with 1-3 biallelic loci.
## S3 method for class 'gpmap'
plot(x, show=1, decomposed=FALSE, ...)
x |
A |
show |
Which map (only used if >1 map in |
decomposed |
Decomposition into monotone and non-monotone component plotted if TRUE |
... |
ignored |
Arne B. Gjuvsland <arne.gjuvsland@nmbu.no> and Yunpeng Wang <yunpeng.wng@gmail.com>
data(GPmaps)
#plot additive gpmap
plot(A)
#plot decomposition of GPmap from Cheverud & Routman (1995)
decomp <- decompose_monotone(mouseweight)
plot(decomp, decomposed=TRUE)