jacklociArpRANDOM: Remove a random subset of loci from a Arlequin project file...

Description Usage Arguments Details Value Author(s) References See Also

Description

This function will create a new .arp file with only a random subset of the loci in the original dataset.

Usage

1
jacklociArpRANDOM(datafile, n.retain)

Arguments

datafile

Name of the file to jackknife, with the extension (e.g. 'glyptemys3.arp').

n.retain

Number of loci to keep in final file (must be between 1 and the number of loci in input file)

Details

This function is useful to investigate the effect of the number of sampled loci on population genetics parameter estimates.

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.

For converting multiple files, use the function batchjacklociArpRANDOM instead.

Value

A new .arp file will be saved in the working directory, with a suffix in the filename indicating the number of loci that were kept.

Author(s)

Sebastien Rioux Paquette

References

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

batchjacklociArpRANDOM, convert


PopGenKit documentation built on May 2, 2019, 3:33 p.m.