Learn R Programming

PopGenKit (version 1.0)

PICalc: Compute the polymorphism infomration content (PIC) of each locus in a Arlequin project file (.arp)

Description

This function computes the PIC (Botstein et al. 1980) of each locus.

Usage

PICalc(datafile, ndigit = 3)

Arguments

datafile
Name of the input file, with the extension (e.g. 'glyptemys3.arp')
ndigit
Number of digit per allele in the input file. Default is 3.

Value

  • Returns a table of PIC values to the R console.

Details

Some .arp files might not be imported correctly depending on which software was used to generate them. If this is the case, start from the Genepop file and convert it first with convert.

References

Botstein, D., R.L. White, M. Skolnick, and A.W. Davis (1980). Construction of a Genetic Linkage Map in Man Using Restriction Fragment Length Polymorphisms. Am. J. Hum. Genet. 32: 314-331. Excoffier, L. and H.E.L. Lischer (2010). Arlequin suite ver 3.5: A new series of programs to perform population genetics analyses under Linux and Windows. Mol. Ecol. Res. 10: 564-567. Rousset, F. (2008). Genepop'007: a complete reimplementation of the Genepop software for Windows and Linux. Mol. Ecol. Res. 8: 103-106.

See Also

convert