[adegenet-forum] PCoA

Roman Luštrik roman.lustrik at biolitika.si
Thu Nov 24 08:48:03 CET 2016


Hello Max, 

is there a question here? If you have problems with your code, it's best to provide a reproducible example. Feel free to use any of the datasets that comes shipped with adegenet or perhaps you could simulate your own data. 

Cheers, 
Roman 

---- 
In god we trust, all others bring data. 


From: "Max Williams" <mw14533.2014 at my.bristol.ac.uk> 
To: adegenet-forum at lists.r-forge.r-project.org 
Sent: Wednesday, November 23, 2016 9:05:17 PM 
Subject: [adegenet-forum] PCoA 

Dear All 

I have recently used PCoA in adegenet to produce the following graph, using the s.class function (shown in attachment). Once i defined my PCoA data as the variable "pca.kelp" i inputted this into adegenet: 

s.class(pca.cows$li, fac=pop(microbov), col=funky(15)) 

s.class(pca.kelp$li, fac=pop(genind1), 
+col=transp(funky(15),.6), 
+axesel=FALSE, cstar=0, cpoint=3) 

I am fairly new to R statistics and would appreciate your time. 

Many thanks 
Max 

_______________________________________________ 
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 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20161124/3abaa4a8/attachment-0001.html>


More information about the adegenet-forum mailing list