[adegenet-forum] Calculation of individual Cavalli-Sforza -Edwardes distances using dist.genpop

Jombart, Thibaut t.jombart at imperial.ac.uk
Wed Sep 15 13:34:03 CEST 2010


Hello, 

Technically I reckon it should be working. You'd have to have a look at the distance itself to see if it is meaningful on individuals.

Cheers

Thibaut.

________________________________________
From: adegenet-forum-bounces at lists.r-forge.r-project.org [adegenet-forum-bounces at lists.r-forge.r-project.org] On Behalf Of Nevil Amos [nevil.amos at gmail.com]
Sent: 15 September 2010 11:44
To: adegenet-forum at lists.r-forge.r-project.org
Subject: [adegenet-forum] Calculation of individual Cavalli-Sforza -Edwardes distances using dist.genpop

  Is there any reason that dist.genpop cannot be used to calculate
pairwise Cavalli-Sforza -Edwardes distances between individauls as follows

mygenpop<-genind2genpop(mygenind,pop=mygenind at ind.names)

Genmatrix<-dist.genpop(mygenpop,method=2,diag=F,upper=F)

cheers

Nevil Amos
_______________________________________________
adegenet-forum mailing list
adegenet-forum at lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum


More information about the adegenet-forum mailing list