[adegenet-forum] sPCA - xy coordinate matrix

Margarita Lopez Uribe mayalopez at gmail.com
Mon Dec 9 19:42:28 CET 2013


Dear all,

I am relatively new to ADEGENET. I have used this program in the past for
DAPC and now I am trying to use sPCA. What I usually do is import genepop
files into genind files to work in adegenet. However, for the sPCA I need
to add the binary L mastrix as an xy coordinate object. I have tried adding
the L matrix after the last individual of the genepop file (as shown
below), but adegenet cannot read the file. I would really appreciate it if
someone can help me get started with the input file. It is a very basic
question, but I read the sPCA documentation and it is not clear how you add
this matrix to your file.

Thanks in advance for your help.

Best,
Margarita

___________________
Microsatellite dataset
PP4, PP8, PP11, PP356, PP420, PP588
Pop
Pep001_NYI, 220220 154154 194194 130130 380380 430430
Pep002_NYI, 220220 154154 194194 130130 372372 430430
Pep003_NYI, 218218 154154 194194 130130 380380 431431
....
Pep655_CA, 226226 146146 194194 134134 372372 428428
Pep656_CA, 226226 146146 194194 134134 372372 428428
Pep657_CA, 226226 146146 194194 134134 372372 428428
xy
Pep001_NYI Pep002_NYI 1
Pep002_NYI Pep003_NYI 1
....
....
Pep001_NYI Pep655_CA, 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20131209/c6c37d9e/attachment.html>


More information about the adegenet-forum mailing list