plot_bal_loci: Plot difference in sample size for each locus.

Description Usage Value Examples

View source: R/plot_fun.r

Description

Provides a quick visual check to compare missing data between two populations and to verify that function bal_loci() has equalised sample sizes correctly. Expects data in hierfstat format. #' If more than two population samples are present in the input file, then only the first two listed pop samples are processed. Plot can be modified using any additional arguments to plot() e.g. add a title with the argument: main = "title text".

Usage

1

Value

A lineplot showing difference in sample size for each locus.

Examples

1
test <- plot_bal_loci(dat.sim, main = "With missing data")

Daniel-J-Schmidt/genrich documentation built on Aug. 15, 2017, 8:15 p.m.