powered by
Function for creating lineplots for genotype-phenotype (GP) map (an object of class gpmap) with 1-3 biallelic loci.
gpmap
# S3 method for gpmap plot(x, show=1, decomposed=FALSE, ...)
A gpmap object
Which map (only used if >1 map in gpmap object) to plot
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)
Run the code above in your browser using DataLab