
Import population genomics summary statistics
import_stats.RdImport windowed population genomics statistics such as FST, pi, Dxy, Watterson's theta, and Tajima's D for tidy ggpop plotting.
Usage
import_stats(dir = NULL, ..., type = c("pixy", "vcftools", "auto"))Examples
pixy_dir <- system.file("extdata", "Population_genomics_statistics", "pixy", package = "ggpop")
stats <- import_stats(pixy_dir, type = "pixy")
#> Error: `dir` must point to an existing directory.
stats |> plot_stats(stat = c("fst", "pi"), chr = "chr2L")
#> Error: object 'stats' not found