I am using R and adegenet for ordination based genetic analysis (pca, dapc) without any problem. However, when I try to run sPCA or other spatial based analyses, all tutorials or instructions consider data files with spatial coordinates already included. I failed to find a template of a .txt or ,csv file, in order to see how to include this spatial data initially, before creating the genind object. Any advice would be highly appreciated.
Thanks!
Aristotelis