Re: [R] partial dbRDA or CCA with two distance objects in Vegan.

2010-09-21 Thread Gavin Simpson
On Wed, 2010-09-22 at 02:34 +1000, Nevil Amos wrote: > Thanks for that, just to confirm I therefore need to use: > #if > #geogdist is a geographic distance matrix > #gen_dist is a genetic distance matrix > #env_var are environmental variables > > mypcnm<-pcnm(geogdist) > > > mydbRDA<-capscale(g

Re: [R] partial dbRDA or CCA with two distance objects in Vegan.

2010-09-21 Thread Nevil Amos
Thanks for that, just to confirm I therefore need to use: #if #geogdist is a geographic distance matrix #gen_dist is a genetic distance matrix #env_var are environmental variables mypcnm<-pcnm(geogdist) mydbRDA<-capscale(gen_dist~env_var+Condition(mypcnm$vectors)) cheers Nevil On 22/0

Re: [R] partial dbRDA or CCA with two distance objects in Vegan.

2010-09-21 Thread Jari Oksanen
On 21/09/10 17:40 PM, "Nevil Amos" wrote: > I am trying to use the cca/rda/capscale functions in vegan to analyse > genetic distance data ( provided as a dist object calculated using > dist.genpop in package adegenet) with geographic distance partialled out > ( provided as a distance object usi

[R] partial dbRDA or CCA with two distance objects in Vegan.

2010-09-21 Thread Nevil Amos
I am trying to use the cca/rda/capscale functions in vegan to analyse genetic distance data ( provided as a dist object calculated using dist.genpop in package adegenet) with geographic distance partialled out ( provided as a distance object using dist function in veganthis method is attemptin