plot.gpmap {gpmap}R Documentation

Functions for creating lineplots of genotype-phenotype (GP) maps

Description

Function for creating lineplots for genotype-phenotype (GP) map (an object of class gpmap) with 1-3 biallelic loci.

Usage

 
## S3 method for class 'gpmap'
plot(x, show=1, decomposed=FALSE, ...)

Arguments

x

A gpmap object

show

Which map (only used if >1 map in gpmap object) to plot

decomposed

Decomposition into monotone and non-monotone component plotted if TRUE

...

ignored

Author(s)

Arne B. Gjuvsland <arne.gjuvsland@nmbu.no> and Yunpeng Wang <yunpeng.wng@gmail.com>

Examples

data(GPmaps)

#plot additive gpmap
plot(A)

#plot decomposition of GPmap from Cheverud & Routman (1995)
decomp <- decompose_monotone(mouseweight)
plot(decomp, decomposed=TRUE)

[Package gpmap version 0.1.2 Index]