ggfreqtable: Plots differentiation statistics along with the maximal and...

View source: R/PopGenBounds_functions.R

ggfreqtableR Documentation

Plots differentiation statistics along with the maximal and minimal values of the statistic

Description

Plots differentiation statistics along with the maximal and minimal values of the statistic

Usage

ggfreqtable(freqs)

Arguments

freqs

a matrix of allele frequency

Value

A ggplot object

Examples

popa = matrix(c(0.3,0.3,0.3,0.1,rep(0,4*5),
  rep(0,4),0.3,0.3,0.3,0.1,rep(0,4*4),
  rep(0,4*2),0.3,0.3,0.3,0.1,rep(0,4*3),
  rep(0,4*3),0.3,0.3,0.3,0.1,rep(0,4*2),
  rep(0,4*4),0.3,0.3,0.3,0.1,rep(0,4),
  rep(0,4*5),0.3,0.3,0.3,0.1),ncol=24,byrow = TRUE)
ggfreqtable(popa)

nalcala/PopGenBounds documentation built on Jan. 23, 2025, 7:22 p.m.