jacklociArp: Remove a 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 without the loci specified by the user.

Usage

1
jacklociArp(datafile, rm.loci)

Arguments

datafile

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

rm.loci

A vector indicating which locus or loci to remove from the final output file. Loci should be indicated as numbers according to the order in which they are listed in the input file (e.g. c(1,3) would remove the first and third loci).

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 or use convertjack.

For converting multiple files, use the function batchjacklociArp instead.

Value

A new .arp file will be saved in the working directory, with the suffix '_jackloci' before the extension in the filename.

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

batchjacklociArp, convert, convertjack


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