1.4 Function gl2colony
Purpose: Automate the creation of a COLONY input file from a genlight object.
Input: A genlight object in which ‘ind.metrics’ contains three columns named ‘offspring’, ‘mother’ and ‘father’ taking values ‘yes’ or ‘no’ to indicate if an individual should be considered a candidate offspring, mother and/or father. The desired name of the exported file.
Output: a ready-to-analyse COLONY file with the specified name.
Recommended use: We recommend using this function after all filtering is finished.