[adegenet-forum] add pop info

Jombart, Thibaut t.jombart at imperial.ac.uk
Wed Jan 28 16:18:34 CET 2015


please check the basics tutorial, especially section 3.3 on accessors. 'pop' is the one you want to use - example provided p13. Though it may seem dull, going through the basics tutorial will save you a lot of time if you use adegenet for data analysis.

From: adegenet-forum-bounces at lists.r-forge.r-project.org [adegenet-forum-bounces at lists.r-forge.r-project.org] on behalf of Maria Guerrina [maria.guerrina at edu.unige.it]
Sent: 28 January 2015 14:46
To: adegenet-forum at lists.r-forge.r-project.org
Subject: [adegenet-forum] add pop info

Hi all!
I have a vcf file with SNPs, but in this file there isn't the information about the populations. I converted the vcf format in a object of class "genind" using pegas package. I would like to know if it is possible to assign each individual to a population.

Thank you!


Maria Guerrina
PhD Student
Università di Genova
Corso Dogali 1M
I - 16136 GENOVA (Italy)
maria.guerrina at edu.unige.it<mailto:maria.guerrina at edu.unige.it>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20150128/92dd33a8/attachment-0001.html>

More information about the adegenet-forum mailing list