Skip to contents

Plot the results of filter_stats

Usage

plot_filter_stats(
  x,
  fstats,
  distmat,
  cols = NULL,
  nclone = NULL,
  breaks = NULL
)

Arguments

x

a genlight of genind object

fstats

the list passed from filter_stats

distmat

a distance matrix passed from filter_stats

cols

colors to use for each algorithm (defaults to RColorBrewer set 1)

nclone

see filter_stats

Value

a plot depicting how many MLLs are collapsed as the genetic distance increases for each algorithm.

Note

This function originally appeared in doi:10.5281/zenodo.17424

References

ZN Kamvar, JC Brooks, and NJ Grünwald. 2015. Supplementary Material for Frontiers Plant Genetics and Genomics 'Novel R tools for analysis of genome-wide population genetic data with emphasis on clonality'. DOI: doi:10.5281/zenodo.17424

Kamvar ZN, Brooks JC and Grünwald NJ (2015) Novel R tools for analysis of genome-wide population genetic data with emphasis on clonality. Front. Genet. 6:208. doi: doi:10.3389/fgene.2015.00208

See also

Author

Zhian N. Kamvar