PlotFreq {Geneland}R Documentation

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(genotypes, path.mcmc,ipop,iloc,iall,printit=FALSE,path)

Arguments

genotypes the matrix of genotypes
path.mcmc Path to output files directory
ipop
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

Author(s)

Gilles Guillot


[Package Geneland version 3.1.4 Index]