Renaming individuals may be required when there have been errors in labelling arising
in the process from sample to DArT files. There may be occasions where renaming
individuals is required for preparation of figures. Caution needs to be exercised
because of the potential for breaking the "chain of evidence" between the samples themselves
and the analyses. Recoding individuals can also be done with a recode table (csv).
This script will input an existing recode table for editting and
optionally save it as a new table, or if the name of an input table is not
supplied, will generate a table using the individual labels in the
parent genlight object.
The script, having deleted individuals, optionally identifies resultant monomorphic loci or loci
with all values missing and deletes them (using gl.filter.monomorphs.r). The script also optionally
recalculates statistics made redundant by the deletion of individuals from the dataset.
The script returns a genlight object with the new individual labels and the recalculated locus metadata.