[adegenet-forum] IBD test: Adding spatial variable to "optional content" of genepop object
thibautjombart at gmail.com
Fri Sep 2 11:18:49 CEST 2016
You can read xy coordinates separately using read.csv, read.table etc. For
the test there is no need to attach the xy coordinates to the object. But
to do so, use other(x)$xy <- xy
Where 'x' is your genind or genpop. Accessors are documented in the basics
On 1 Sep 2016 20:15, "Alan Garcia-Elfring" <alangarcia87 at hotmail.com> wrote:
> Hi everyone,
> I'm trying to use the IBD test shown on chapter 7 of the tutorial. The
> example data used, spcaIllus, has spatial information that my .genepop
> files do not have.
> How does one incorporate the spatial data into the "optional content" ?
> Any help is greatly appreciated.
> adegenet-forum mailing list
> adegenet-forum at lists.r-forge.r-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the adegenet-forum