Latitude and Longitude data can be added to a gtypes object in the 'other' object, but the gtypes2genind function doesn't transfer the Lat/Lon data. Currently, I have to convert back to a dataframe, combine alleles to a single column, add the locus names, use the Adegenet function df2genind to create the genind object, then add the lat/lon data from the dataframe to the genind object.
Can the gtypes2genind function be modified to include other/xy for lat/lon data?
Latitude and Longitude data can be added to a gtypes object in the 'other' object, but the gtypes2genind function doesn't transfer the Lat/Lon data. Currently, I have to convert back to a dataframe, combine alleles to a single column, add the locus names, use the Adegenet function df2genind to create the genind object, then add the lat/lon data from the dataframe to the genind object. Can the gtypes2genind function be modified to include other/xy for lat/lon data?