plot.hybridsim: Plotting hybridsim objects

Description Usage Arguments Author(s) See Also Examples

Description

A hybridsim object can be plotted using the function plot.hybridsim, which is also used as the dedicated plot method. This function represents expected hybrid markers frequencies on a neutral sheet.

Usage

1
2
3
## S3 method for class 'hybridsim'
plot(x,hybrid = c("F1", "BxA", "BxB"), col = "lightgreen",
 shade = 0.8, markers = x$SelMarkers, ...)

Arguments

x

A hybridsim object.

hybrid

The hybrid classes to simulate: "F1", "BxA" or "BxB".

col

A specification for the default plotting color.

shade

A specification for the default alpha value.

markers

a numeric vector with markers to plot. By default markers under selection by hybridsim function.

...

Arguments to be passed to methods, such as graphical parameters (see par).

Author(s)

F. Balao fbalao@us.es, J.L. García-Castaño

See Also

hybridsim hybridize

Examples

1
2
3
4
## simulate parentals and F1 hybrids
hybrids<-hybridsim(Nmarker=100, Na=30, Nb=30, Nf1=30, type="selection", S=1, Nsel=25, hybrid="F1")

plot.hybridsim(hybrids, hybrid="F1")

fbalao/AFLPsim documentation built on May 16, 2019, 11:09 a.m.