plot.inbreed {inbreedR}R Documentation

Plot an inbreed object

Description

Plot an inbreed object

Usage

## S3 method for class 'inbreed'
plot(x, true_g2 = FALSE, plottype = c("boxplot",
  "histogram"), ...)

Arguments

x

An inbreed object.

true_g2

For plotting a simulate_g2 output. If TRUE, plots the real g2 (based on realized f) as a reference line.

plottype

deprecated. "boxplot" or "histogram" to plot the output of r2_hf() and to show either the boxplots through resampling of loci or the histogram from the bootstrapping of r2 over individuals.

...

Additional arguments to the hist() function for the g2 and HHC functions. Additional arguments to the boxplot() function for plotting the result of the r2_hf() function.

Author(s)

Martin Stoffel (martin.adam.stoffel@gmail.com)

See Also

g2_snps, g2_microsats


[Package inbreedR version 0.3.3 Index]