Learn R Programming

Geneland (version 4.0.6)

PlotFreq: Plot the trace of allele frequencies in present time population and optionnaly print it.

Description

Plot of allele frequencies in present time populations number ipop, for allele iall of locus iloc

Usage

PlotFreq(path.mcmc,ipop,iloc,iall,printit=FALSE,path)

Arguments

path.mcmc
Path to output files directory
ipop
Integer number : index of population
iloc
Integer number : index of locus
iall
Integer number : index of allele. If MCMC was launched with option filter.null.alleles=TRUE, an extra fictive allele standing for putative null alleles is created. It estimated frequency can be also plotted. If there is say, 5 alleles at a locus, the estimated frequency of null alleles can be seen invoking PlotFreq with iall=6.
printit
Logical : if TRUE, figures are also printed
path
Character : Path to directory where figures should be printed