[adegenet-forum] spca with type 5

Newton, Erica (MNRF) Erica.Newton at ontario.ca
Mon May 28 19:57:20 CEST 2018


Hello;

I am using the spca command with the "neighbourhood by distance" graph (type = 5). In the call to spca, d1 and d2 are referred to as the "minimum [or maximum] distance between any two neighbours", respectively. After digging some more I found that in the chooseCN function d1 and d2 are defined as:

d1 = the minimum distance between any two neighbours.
d2 = the maximum distance between any two neighbours. Can also be a character: "dmin" for the minimum distance so that each site has at least one connection, or "dmax" to have all sites connected (despite the later has no sense).

I am looking for clarification on these arguments. First, "dmax" is an option but makes no sense - why?
Second - what are the units of d1 and d2, and do they change based on whether your x and y values are, for example, latitudes and longitudes or utm coordinates (metres)? What defines a "neighbour"?

I'm asking because the chooseCN function help page seems to refer to "sites" as neighbours - e.g., neighbouring populations or sampling sites. When I looked at the spca tutorial, though, it seems like d2 is based on the distance between individuals (page 37, "For these data, spatial connectivity is best defined as the overlap between home ranges of individuals, modelled as disks with a radius of 1150m. chooseCN is used to create the corresponding connection network". d2 is defined as 2300 in the call to "chooseCN" in that tutorial.

I'm asking because I want to ensure that I am choosing the "correct" distance for d2. I am working with turtles, who do not have defined territories. Some turtles were collected only meters from other turtles, whereas others were collected hundreds of kilometers away across a large area. We suspect that there are 2-4 "populations" of these turtles from the STRUCTURE results.

Thanks for any clarification you can provide on how to specify d1 and d2 correctly for my study species. I am new to genetic analyses.

Best,
Erica

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20180528/4fc114e8/attachment.html>


More information about the adegenet-forum mailing list