<html><head></head><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:13px"><div id="yui_3_16_0_ym19_1_1508843118552_20625"><span id="yui_3_16_0_ym19_1_1508843118552_20626">Oliver, sorry my delay.<br>I solved my problem with this command:<br><br></span></div><div id="yui_3_16_0_ym19_1_1508843118552_20627">mycol = c("darkblue","black","red")</div><div id="yui_3_16_0_ym19_1_1508843118552_20628">#### s.class(dapc_cerato$ind.coord, pop(cerato), pch = 18, cstar=1, cellipse=0.95, cpoint=1, clabel = 0.6, grid=FALSE, xlim=NULL, ylim=NULL, origin = c(0,0), axesell=FALSE, addaxes=TRUE, col = mycol)</div><div dir="ltr" id="yui_3_16_0_ym19_1_1508843118552_20629">####legend(xy.coords(x = c(-30,10), y = c(24,-10)), pch=19, cex=1.5, pt.cex=1.5,bty="n", levels(pop(cerato)), ncol=6, y.intersp=0.5, x.intersp=0.5, col= seasun(length(levels(dapc_cerato$grp))))</div><div id="yui_3_16_0_ym19_1_1508843118552_20630"><span><br></span></div><div id="yui_3_16_0_ym19_1_1508843118552_20303" dir="ltr"><span id="yui_3_16_0_ym19_1_1508843118552_21542">The result is in the attached file.<br><br>Best regards,<br>Lucas Veiga Ayres Pimenta</span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: times new roman, new york, times, serif; font-size: 13px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> Em Quarta-feira, 18 de Outubro de 2017 22:39, "Oliver.Berry@csiro.au" <Oliver.Berry@csiro.au> escreveu:<br></font></div>  <br><br> <div class="y_msg_container"><div id="yiv0717832304"><style>#yiv0717832304 #yiv0717832304 --
 
 _filtered #yiv0717832304 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;}
 _filtered #yiv0717832304 {panose-1:2 4 5 3 5 4 6 3 2 4;}
 _filtered #yiv0717832304 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
 _filtered #yiv0717832304 {panose-1:2 11 5 2 2 2 2 2 2 4;}
#yiv0717832304  
#yiv0717832304 p.yiv0717832304MsoNormal, #yiv0717832304 li.yiv0717832304MsoNormal, #yiv0717832304 div.yiv0717832304MsoNormal
        {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;}
#yiv0717832304 a:link, #yiv0717832304 span.yiv0717832304MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv0717832304 a:visited, #yiv0717832304 span.yiv0717832304MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv0717832304 span.yiv0717832304EmailStyle17
        {color:#1F497D;}
#yiv0717832304 .yiv0717832304MsoChpDefault
        {font-size:10.0pt;}
 _filtered #yiv0717832304 {margin:72.0pt 72.0pt 72.0pt 72.0pt;}
#yiv0717832304 div.yiv0717832304WordSection1
        {}
#yiv0717832304 </style><div>
<div class="yiv0717832304WordSection1">
<div class="yiv0717832304MsoNormal"><span style="font-size:14.0pt;">Hi,</span></div> 
<div class="yiv0717832304MsoNormal"><span style="font-size:14.0pt;">  </span></div> 
<div class="yiv0717832304MsoNormal"><span style="font-size:14.0pt;">That’s great news Lucas.</span></div> 
<div class="yiv0717832304MsoNormal"><span style="font-size:14.0pt;">  </span></div> 
<div class="yiv0717832304MsoNormal"><span style="font-size:14.0pt;">I wonder whether you would mind posting a version of your solution so others can make use of it in the future?</span></div> 
<div class="yiv0717832304MsoNormal"><span style="font-size:14.0pt;">  </span></div> 
<div class="yiv0717832304MsoNormal"><span style="font-size:14.0pt;">Cheers,</span></div> 
<div class="yiv0717832304MsoNormal"><span style="font-size:14.0pt;">  </span></div> 
<div class="yiv0717832304MsoNormal"><span style="font-size:14.0pt;">Olly</span></div> 
<div class="yiv0717832304MsoNormal"><span style="font-size:14.0pt;">  </span></div> 
<div class="yiv0717832304MsoNormal"><span lang="EN-AU" style="font-size:11.0pt;">  </span></div> 
<table align="left" class="yiv0717832304MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="0" style="width:927.85pt;margin-left:.45pt;margin-right:.45pt;margin-bottom:3.7pt;"><tbody><tr style="min-height:16.1pt;"><td colspan="2" rowspan="1" valign="top" width="1237" style="width:927.85pt;padding:0cm 0cm 0cm 0cm;min-height:16.1pt;">
<div class="yiv0717832304MsoNormal" style="line-height:115%;">
<span style="font-size:11.0pt;line-height:115%;"><img id="yiv0717832304Picture_x0020_1" width="613" height="5" src="cid:image001.jpg@01D348B5.CC295E60" alt="cid:image004.png@01CAD197.F6C4A5F0"></span><span style=""></span></div> 
</td></tr><tr style="min-height:172.2pt;"><td colspan="1" rowspan="1" valign="top" width="123" style="width:92.25pt;padding:0cm 0cm 0cm 0cm;min-height:172.2pt;">
<div class="yiv0717832304MsoNormal" style="line-height:115%;">
<span style="font-size:11.0pt;line-height:115%;"><img id="yiv0717832304Picture_x0020_2" width="100" height="100" src="cid:image002.jpg@01D348B5.CC295E60" alt="28C2BBB154C648CDB6B4DCEDD3B0DD15"></span><span style=""></span></div> 
</td><td colspan="1" rowspan="1" width="1114" style="width:835.6pt;padding:0cm 0cm 0cm 0cm;min-height:172.2pt;">
<div class="yiv0717832304MsoNormal" style="line-height:115%;">
<b><span style="font-size:10.0pt;line-height:115%;">Oliver Berry</span></b></div> 
<div class="yiv0717832304MsoNormal" style="line-height:115%;">
<span style="font-size:10.0pt;line-height:115%;">Leader, Environomics Future Science Platform</span></div> 
<div class="yiv0717832304MsoNormal" style="line-height:115%;">
<span style="font-size:10.0pt;line-height:115%;">CSIRO National Collections and Marine Infrastructure</span></div> 
<div class="yiv0717832304MsoNormal"><span style="font-size:9.0pt;">Indian Ocean Marine Research Centre</span></div> 
<div class="yiv0717832304MsoNormal"><span style="font-size:9.0pt;">The University of Western Australia, M097, 35 Stirling Highway</span></div> 
<div class="yiv0717832304MsoNormal"><span style="font-size:9.0pt;">Crawley, W.A., 6009, Australia
</span></div> 
<div class="yiv0717832304MsoNormal" style="line-height:115%;">
<b><span style="font-size:10.0pt;line-height:115%;">P</span></b><span style="font-size:10.0pt;line-height:115%;">: +61-8-9333-6584 
<b>F: </b>+61-8-9333-6555</span><span style="font-size:10.0pt;line-height:115%;"> 
</span><b><span style="font-size:10.0pt;line-height:115%;">E</span></b><span style="font-size:10.0pt;line-height:115%;">:
<a rel="nofollow" shape="rect" ymailto="mailto:Oliver.Berry@csiro.au" target="_blank" href="mailto:Oliver.Berry@csiro.au">Oliver.Berry@csiro.au</a>   <b>W</b>: </span>
<span style="font-size:10.0pt;line-height:115%;"><a rel="nofollow" shape="rect" target="_blank" href="https://research.csiro.au/environomics/">Environomics</a></span><u><span style="font-size:10.0pt;line-height:115%;"></span></u></div> 
<div class="yiv0717832304MsoNormal" style="line-height:115%;">
<b><span lang="EN-US" style="font-size:7.5pt;line-height:115%;">This e-mail message (and attachments) is confidential, and / or privileged and is intended for the use of the addressee only. If you are not
 the intended recipient of this e-mail you must not copy, distribute, take any action in reliance on it or disclose it to anyone. Any confidentiality or privilege is not waived or lost by reason of mistaken delivery to you. CSIRO is not responsible for any
 information not related to the business of CSIRO. If you have received this e-mail in error please destroy the original and notify the sender.</span></b><span style="font-size:11.0pt;line-height:115%;"></span></div> 
<div align="center" class="yiv0717832304MsoNormal" style="text-align:center;line-height:115%;">
<b><span lang="EN-US" style="font-size:7.5pt;line-height:115%;">  </span></b></div> 
<div class="yiv0717832304MsoNormal" style="line-height:115%;">
<span style="">  </span></div> 
</td></tr></tbody></table>
<div class="yiv0717832304MsoNormal"><span lang="EN-AU" style="font-size:11.0pt;">  </span></div> 
<div class="yiv0717832304MsoNormal"><span style="font-size:14.0pt;">  </span></div> 
<div class="yiv0717832304MsoNormal"><span style="font-size:14.0pt;">  </span></div> 
<div class="yiv0717832304MsoNormal"><span style="font-size:14.0pt;">  </span></div> 
<div class="yiv0717832304yqt2264590450" id="yiv0717832304yqt37385"><div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm;">
<div class="yiv0717832304MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;">From:</span></b><span lang="EN-US" style="font-size:11.0pt;"> Lucas Veiga [mailto:lucasfip@yahoo.com.br]
<br clear="none">
<b>Sent:</b> Thursday, 19 October 2017 7:55 AM<br clear="none">
<b>To:</b> adegenet-forum@lists.r-forge.r-project.org; Berry, Olly (NCMI, IOMRC Crawley) <Oliver.Berry@csiro.au><br clear="none">
<b>Subject:</b> Re: [adegenet-forum] Dots in the DAPC graphic (Lucas Veiga)</span></div> 
</div>
</div>
<div class="yiv0717832304MsoNormal">  </div> 
<div>
<div id="yiv0717832304">
<div id="yiv0717832304yui_3_16_0_ym19_1_1508369539247_14296">
<div id="yiv0717832304yui_3_16_0_ym19_1_1508369539247_14295">
<div id="yiv0717832304yui_3_16_0_ym19_1_1508369539247_14436">
<div class="yiv0717832304MsoNormal" style="margin-bottom:12.0pt;background:white;"><span style="font-size:10.0pt;color:black;">Dear all,<br clear="none" id="yiv0717832304yui_3_16_0_ym19_1_1508369539247_14597">
Good news!! I did it making a little change in the s.class command. Oliver, your tip helped me a lot. Thanks all.<br clear="none" id="yiv0717832304yui_3_16_0_ym19_1_1508369539247_14598">
<br clear="none" id="yiv0717832304yui_3_16_0_ym19_1_1508369539247_14599">
Best regards,<br clear="none" id="yiv0717832304yui_3_16_0_ym19_1_1508369539247_14600">
Lucas Veiga Ayres Pimenta</span></div> 
</div>
</div>
<div id="yiv0717832304DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2">
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="font-size:10.0pt;color:black;">  </span></div> 
<table class="yiv0717832304MsoNormalTable" id="yiv0717832304yui_3_16_0_ym19_1_1508369539247_14429" border="1" cellpadding="0" style="border:none;border-top:solid #D3D4DE 1.0pt;"><tbody><tr id="yiv0717832304yui_3_16_0_ym19_1_1508369539247_14427"><td colspan="1" rowspan="1" width="58" style="width:41.25pt;border:none;padding:13.5pt .75pt .75pt .75pt;">
<div class="yiv0717832304MsoNormal"><a rel="nofollow" shape="rect" target="_blank" href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail"><span style="text-decoration:none;"><img id="yiv0717832304_x0000_i1025" border="0" width="46" height="29" src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png"></span></a></div> 
</td><td colspan="1" rowspan="1" id="yiv0717832304yui_3_16_0_ym19_1_1508369539247_14426" width="473" style="width:352.5pt;border:none;padding:12.75pt .75pt .75pt .75pt;">
<div class="yiv0717832304MsoNormal" style="line-height:13.5pt;"><span style="font-size:10.0pt;">Livre de vírus.
<a rel="nofollow" shape="rect" id="yiv0717832304yui_3_16_0_ym19_1_1508369539247_14682" target="_blank" href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail">
<span style="color:#4453EA;">www.avg.com</span></a>. </span></div> 
</td></tr></tbody></table>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="font-size:10.0pt;">Em Terça-feira, 17 de Outubro de 2017 8:23, Shannon O'Leary <<a rel="nofollow" shape="rect" ymailto="mailto:shannon.j.oleary@gmail.com" target="_blank" href="mailto:shannon.j.oleary@gmail.com">shannon.j.oleary@gmail.com</a>>
 escreveu:</span><span style=""></span></div> 
</div>
<div class="yiv0717832304MsoNormal" style="margin-bottom:12.0pt;background:white;"><span style="">  </span></div> 
<div>
<div id="yiv0717832304">
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">Hi Lucas,</span></div> 
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">Try this on for size: </span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">From your description it looks like you have a data set for which you have the following information:</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">SAMPLE-ID | POPULATION (CROP) | GENOTYPES</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">you read in the genotypes as a genind object (gen) and your can read in your sample information as a dataframe containing Sample_ID and POP information
 (SampleInfo)</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">You then ran k-means clustering/DAPC on your data set, something like this</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">grp <- find.clusters.genind(gen, n.pca = 200,</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">                            stat = "BIC", choose.n.clust = FALSE, criterion = "min",</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">                            max.n.clust = 40)</span></div> 
</div>
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">dapc <-dapc(gen, grp$grp, n.pca = 50, n.da = 2)</span></div> 
</div>
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">You can pull the information on which sample was assigned to which cluster like so:</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">clusters <- as.data.frame(grp$grp) %>%</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  rownames_to_column("SAMPLE_ID") %>%</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  rename(CLUSTER = `grp$grp`)</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">You can add this information to your SampleInfo dataframe using dplyr::left_join()</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">SampleInfo <- left_join(SampleInfo, clusters, by = "SAMPLE_ID")</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">resulting in a dataframe with 3 columns: SAMPLE_ID | CROP | CLUSTER.</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">Now you can pull the coordinates from the dapc and also add them to that data frame as well:</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">DAPC_Ind <- as.data.frame(dapc$ind.coord) %>%</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  rownames_to_column("SAMPLE_ID")</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">SampleInfo <- left_join(SampleInfo, DAPC_Ind, by = "SAMPLE_ID")</span></div> 
</div>
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">Now you have a data frame that should look something like this</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">SAMPLE_ID | CROP | CLUSTER | LD1 | LD2 ...</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">Now you can plot your data using ggplot and you can adjust the shape and color of your data points as you please, for example:</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">ggplot(SampleInfo, aes(x = LD1, y = LD2), color = CROP, shape = CLUSTER) +</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">geom_point()</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">Is this what you are trying to achieve? You'll have to tweak the "code" I've thrown in here to fit your data (column names etc).</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">Shannon</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style=""><br clear="all">
</span></div> 
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="font-size:7.5pt;">><(((jº>   ><(((jº>  ><(((jº>   ><(((jº>   </span><span style="font-size:10.0pt;">><(((jº>  ><(((jº>
   ><(((jº> </span><span style=""></span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="font-size:9.5pt;">Shannon J. O'Leary</span><span style=""></span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">Postdoctoral Research Associate</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">Marine Genomics Lab</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">Life Science Department</span></div> 
</div>
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">Texas A&M Corpus Christi</span></div> 
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  </span></div> 
<div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">On Mon, Oct 16, 2017 at 12:11 PM, <<a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum-request@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum-request@lists.r-forge.r-project.org">adegenet-forum-request@lists.r-forge.r-project.org</a>>
 wrote:</span></div> 
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm;">
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">Send adegenet-forum mailing list submissions to<br clear="none">
        <a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum@lists.r-forge.r-project.org">
adegenet-forum@lists.r-forge. r-project.org</a><br clear="none">
<br clear="none">
To subscribe or unsubscribe via the World Wide Web, visit<br clear="none">
        <a rel="nofollow" shape="rect" target="_blank" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum">
https://lists.r-forge.r- project.org/cgi-bin/mailman/ listinfo/adegenet-forum</a><br clear="none">
<br clear="none">
or, via email, send a message with subject or body 'help' to<br clear="none">
        <a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum-request@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum-request@lists.r-forge.r-project.org">
adegenet-forum-request@lists. r-forge.r-project.org</a><br clear="none">
<br clear="none">
You can reach the person managing the list at<br clear="none">
        <a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum-owner@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum-owner@lists.r-forge.r-project.org">
adegenet-forum-owner@lists.r- forge.r-project.org</a><br clear="none">
<br clear="none">
When replying, please edit your Subject line so it is more specific<br clear="none">
than "Re: Contents of adegenet-forum digest..."<br clear="none">
<br clear="none">
<br clear="none">
Today's Topics:<br clear="none">
<br clear="none">
   1. Re: Dots in the DAPC graphic (Lucas Veiga)<br clear="none">
<br clear="none">
<br clear="none">
------------------------------ ------------------------------ ----------<br clear="none">
<br clear="none">
Message: 1<br clear="none">
Date: Mon, 16 Oct 2017 17:10:49 +0000 (UTC)<br clear="none">
From: Lucas Veiga <<a rel="nofollow" shape="rect" ymailto="mailto:lucasfip@yahoo.com.br" target="_blank" href="mailto:lucasfip@yahoo.com.br">lucasfip@yahoo.com.br</a>><br clear="none">
To: Zhian Kamvar <<a rel="nofollow" shape="rect" ymailto="mailto:zkamvar@gmail.com" target="_blank" href="mailto:zkamvar@gmail.com">zkamvar@gmail.com</a>>,<br clear="none">
        "<a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum@lists.r-forge.r-project.org">adegenet-forum@lists.r-forge. r-project.org</a>"<br clear="none">
        <<a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum@lists.r-forge.r-project.org">adegenet-forum@lists.r-forge. r-project.org</a>><br clear="none">
Subject: Re: [adegenet-forum] Dots in the DAPC graphic<br clear="none">
Message-ID: <<a rel="nofollow" shape="rect" ymailto="mailto:1729769391.894921.1508173849615@mail.yahoo.com" target="_blank" href="mailto:1729769391.894921.1508173849615@mail.yahoo.com">1729769391.894921. 1508173849615@mail.yahoo.com</a>><br clear="none">
Content-Type: text/plain; charset="utf-8"<br clear="none">
<br clear="none">
Dear All (Kamvar, Jombart and Roman),First, I would like to thank you all for spending a little of your time on my problem. Unfortunely, it was not possible to do what I want with commands that you showed me. I think that I will have to write very? carefully
 my work to explain my groups and my dots (haployd individuals) inside of the groups formed by DAPC analysis.?Obs: Kamvar, your command is very useful, but it was not possible to have dots with different colors or forms inside of the same group.<br clear="none">
<br clear="none">
Best regards,Lucas Veiga Ayres Pimenta<br clear="none">
<br clear="none">
    Em Sexta-feira, 13 de Outubro de 2017 12:48, Zhian Kamvar <<a rel="nofollow" shape="rect" ymailto="mailto:zkamvar@gmail.com" target="_blank" href="mailto:zkamvar@gmail.com">zkamvar@gmail.com</a>> escreveu:<br clear="none">
<br clear="none">
<br clear="none">
 Hi,<br clear="none">
The individual coordinates are in the @ind.coord slot of the DAPC object. You can use those to plot and color them with your desired population factor.<br clear="none">
I have recently come up with a ggplot2 solution for this:?<a rel="nofollow" shape="rect" target="_blank" href="https://github.com/everhartlab/sclerotinia-366/blame/v1.0/results/by-year.md#L508-L558">https://github.com/ everhartlab/sclerotinia-366/ blame/v1.0/results/by-year.md# L508-L558</a>,
 the results of which look like so:?<a rel="nofollow" shape="rect" target="_blank" href="https://github.com/everhartlab/sclerotinia-366/blob/v1.0/results/figures/by-year/dapc_plot-2.png">https://github.com/ everhartlab/sclerotinia-366/ blob/v1.0/results/figures/by- year/dapc_plot-2.png</a><br clear="none">
Hope that helps,Zhian<br clear="none">
-----Zhian N. Kamvar, Ph. D.Postdoctoral Researcher (Everhart Lab)Department of Plant PathologyUniversity of Nebraska-LincolnORCID:?0000- 0003-1458-7108<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
On Oct 13, 2017, at 03:39 , <a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum-request@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum-request@lists.r-forge.r-project.org">
adegenet-forum-request@lists. r-forge.r-project.org</a> wrote:<br clear="none">
Send adegenet-forum mailing list submissions to<br clear="none">
 <a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum@lists.r-forge.r-project.org">adegenet-forum@lists.r-forge. r-project.org</a><br clear="none">
<br clear="none">
To subscribe or unsubscribe via the World Wide Web, visit<br clear="none">
 <a rel="nofollow" shape="rect" target="_blank" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum">https://lists.r-forge.r- project.org/cgi-bin/mailman/ listinfo/adegenet-forum</a><br clear="none">
<br clear="none">
or, via email, send a message with subject or body 'help' to<br clear="none">
 <a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum-request@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum-request@lists.r-forge.r-project.org">adegenet-forum-request@lists. r-forge.r-project.org</a><br clear="none">
<br clear="none">
You can reach the person managing the list at<br clear="none">
 <a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum-owner@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum-owner@lists.r-forge.r-project.org">adegenet-forum-owner@lists.r- forge.r-project.org</a><br clear="none">
<br clear="none">
When replying, please edit your Subject line so it is more specific<br clear="none">
than "Re: Contents of adegenet-forum digest..."<br clear="none">
<br clear="none">
<br clear="none">
Today's Topics:<br clear="none">
<br clear="none">
 ??1. Re: Dots in the DAPC graphic (Lucas Veiga)<br clear="none">
 ??2. Re: Dots in the DAPC graphic (Lucas Veiga)<br clear="none">
 ??3. Re: Dots in the DAPC graphic (Roman Lu?trik)<br clear="none">
<br clear="none">
<br clear="none">
------------------------------ ------------------------------ ----------<br clear="none">
<br clear="none">
Message: 1<br clear="none">
Date: Thu, 12 Oct 2017 12:03:35 +0000 (UTC)<br clear="none">
From: Lucas Veiga <<a rel="nofollow" shape="rect" ymailto="mailto:lucasfip@yahoo.com.br" target="_blank" href="mailto:lucasfip@yahoo.com.br">lucasfip@yahoo.com.br</a>><br clear="none">
To: Roman Lu?trik <<a rel="nofollow" shape="rect" ymailto="mailto:roman.lustrik@biolitika.si" target="_blank" href="mailto:roman.lustrik@biolitika.si">roman.lustrik@biolitika.si</a>><br clear="none">
Cc: "<a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum@lists.r-forge.r-project.org">adegenet-forum@lists.r-forge. r-project.org</a>"<br clear="none">
 <<a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum@lists.r-forge.r-project.org">adegenet-forum@lists.r-forge. r-project.org</a>><br clear="none">
Subject: Re: [adegenet-forum] Dots in the DAPC graphic<br clear="none">
Message-ID: <<a rel="nofollow" shape="rect" ymailto="mailto:1994389766.433362.1507809815326@mail.yahoo.com" target="_blank" href="mailto:1994389766.433362.1507809815326@mail.yahoo.com">1994389766.433362. 1507809815326@mail.yahoo.com</a>><br clear="none">
Content-Type: text/plain; charset="utf-8"<br clear="none">
<br clear="none">
Dear Roman,First, thank you for the help. Unfortunaly, apparently your command not worked for me. I will try explain better my situation. I work with phytopathology and the fungus that I work affects different crops (I have put in my input file .csv the crops
 as my populations, different crops are different populations). Due the migration of genotypes of the fungus between the crops, inside of one group formed by DAPC there are genotypes obtained of different crops (populations) and for better viewing of this migration
 I want to plot the dots according of the hosts and not according of the groups formed by DAPC analysis. So, inside of one group there will are dots of different colors.?I hope have explain better my situation and that you can help me.<br clear="none">
Best regards,Lucas Veiga Ayres pimenta<br clear="none">
<br clear="none">
 ???Em Quinta-feira, 12 de Outubro de 2017 5:49, Roman Lu?trik <<a rel="nofollow" shape="rect" ymailto="mailto:roman.lustrik@biolitika.si" target="_blank" href="mailto:roman.lustrik@biolitika.si">roman.lustrik@biolitika.si</a>> escreveu:<br clear="none">
<br clear="none">
<br clear="none">
 Map `grp` argument to your desired grouping. Make sure that you pass `col` the correct number of colors which should match the number of groups you are specifying.<br clear="none">
By default, coloring is done on grouping (see here). See this example:<br clear="none">
library(adegenet)<br clear="none">
<br clear="none">
data(H3N2)<br clear="none">
pop(H3N2) <- factor(H3N2$other$epid)<br clear="none">
dapc1 <- dapc(H3N2, var.contrib=FALSE, scale=FALSE, n.pca=150, n.da=5)<br clear="none">
<br clear="none">
data.frame(dapc1$grp, pop(H3N2)) # they are matching<br clear="none">
<br clear="none">
Cheers,Roman<br clear="none">
<br clear="none">
<br clear="none">
----<br clear="none">
In god we trust, all others bring data.<br clear="none">
<br clear="none">
Zahtevaj IJZ na <a rel="nofollow" shape="rect" target="_blank" href="https://kurc.biolitika.si/">https://kurc.biolitika.si</a><br clear="none">
<br clear="none">
From: "Lucas Veiga" <<a rel="nofollow" shape="rect" ymailto="mailto:lucasfip@yahoo.com.br" target="_blank" href="mailto:lucasfip@yahoo.com.br">lucasfip@yahoo.com.br</a>><br clear="none">
To: <a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum@lists.r-forge.r-project.org">adegenet-forum@lists.r-forge. r-project.org</a><br clear="none">
Sent: Thursday, October 12, 2017 1:34:19 AM<br clear="none">
Subject: [adegenet-forum] Dots in the DAPC graphic<br clear="none">
<br clear="none">
Dear all,I would like to know what I can do for the dots in DAPC graph to be colored according to the populations and not according to the DAPC analysis groups?<br clear="none">
<br clear="none">
Best regards,<br clear="none">
Lucas Veiga Ayres Pimenta<br clear="none">
______________________________ _________________<br clear="none">
adegenet-forum mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum@lists.r-forge.r-project.org">adegenet-forum@lists.r-forge. r-project.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum">https://lists.r-forge.r- project.org/cgi-bin/mailman/ listinfo/adegenet-forum</a><br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
-------------- next part --------------<br clear="none">
An HTML attachment was scrubbed...<br clear="none">
URL: <<a rel="nofollow" shape="rect" target="_blank" href="http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20171012/c5b29746/attachment-0001.html">http://lists.r-forge.r- project.org/pipermail/ adegenet-forum/attachments/ 20171012/c5b29746/attachment- 0001.html</a>><br clear="none">
<br clear="none">
------------------------------<br clear="none">
<br clear="none">
Message: 2<br clear="none">
Date: Thu, 12 Oct 2017 12:10:28 +0000 (UTC)<br clear="none">
From: Lucas Veiga <<a rel="nofollow" shape="rect" ymailto="mailto:lucasfip@yahoo.com.br" target="_blank" href="mailto:lucasfip@yahoo.com.br">lucasfip@yahoo.com.br</a>><br clear="none">
To: Roman Lu?trik <<a rel="nofollow" shape="rect" ymailto="mailto:roman.lustrik@biolitika.si" target="_blank" href="mailto:roman.lustrik@biolitika.si">roman.lustrik@biolitika.si</a>><br clear="none">
Cc: "<a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum@lists.r-forge.r-project.org">adegenet-forum@lists.r-forge. r-project.org</a>"<br clear="none">
 <<a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum@lists.r-forge.r-project.org">adegenet-forum@lists.r-forge. r-project.org</a>><br clear="none">
Subject: Re: [adegenet-forum] Dots in the DAPC graphic<br clear="none">
Message-ID: <<a rel="nofollow" shape="rect" ymailto="mailto:342879047.415645.1507810228644@mail.yahoo.com" target="_blank" href="mailto:342879047.415645.1507810228644@mail.yahoo.com">342879047.415645. 1507810228644@mail.yahoo.com</a>><br clear="none">
Content-Type: text/plain; charset="utf-8"<br clear="none">
<br clear="none">
Dear Roman,First, thank you for the help. Unfortunaly, apparently your command not worked for me. I will try explain better my situation. I work with phytopathology and the fungus that I work affects different crops (I have put in my input file .csv the crops
 as my populations, different crops are different populations). Due the migration of genotypes of the fungus between the crops, inside of one group formed by DAPC there are genotypes obtained of different crops (populations) and for better viewing of this migration
 I want to plot the dots according to the hosts and not according to the groups formed by DAPC analysis. So, inside of one group there will are dots of different colors.?I hope I have explained better my situation and that you can help me.<br clear="none">
Best regards,Lucas Veiga Ayres pimenta<br clear="none">
<br clear="none">
 ???Em Quinta-feira, 12 de Outubro de 2017 9:03, Lucas Veiga <<a rel="nofollow" shape="rect" ymailto="mailto:lucasfip@yahoo.com.br" target="_blank" href="mailto:lucasfip@yahoo.com.br">lucasfip@yahoo.com.br</a>> escreveu:<br clear="none">
<br clear="none">
<br clear="none">
 Dear Roman,First, thank you for the help. Unfortunaly, apparently your command not worked for me. I will try explain better my situation. I work with phytopathology and the fungus that I work affects different crops (I have put in my input file .csv the crops
 as my populations, different crops are different populations). Due the migration of genotypes of the fungus between the crops, inside of one group formed by DAPC there are genotypes obtained of different crops (populations) and for better viewing of this migration
 I want to plot the dots according of the hosts and not according of the groups formed by DAPC analysis. So, inside of one group there will are dots of different colors.?I hope have explain better my situation and that you can help me.<br clear="none">
Best regards,Lucas Veiga Ayres pimenta<br clear="none">
<br clear="none">
 ???Em Quinta-feira, 12 de Outubro de 2017 5:49, Roman Lu?trik <<a rel="nofollow" shape="rect" ymailto="mailto:roman.lustrik@biolitika.si" target="_blank" href="mailto:roman.lustrik@biolitika.si">roman.lustrik@biolitika.si</a>> escreveu:<br clear="none">
<br clear="none">
<br clear="none">
 Map `grp` argument to your desired grouping. Make sure that you pass `col` the correct number of colors which should match the number of groups you are specifying.<br clear="none">
By default, coloring is done on grouping (see here). See this example:<br clear="none">
library(adegenet)<br clear="none">
<br clear="none">
data(H3N2)<br clear="none">
pop(H3N2) <- factor(H3N2$other$epid)<br clear="none">
dapc1 <- dapc(H3N2, var.contrib=FALSE, scale=FALSE, n.pca=150, n.da=5)<br clear="none">
<br clear="none">
data.frame(dapc1$grp, pop(H3N2)) # they are matching<br clear="none">
<br clear="none">
Cheers,Roman<br clear="none">
<br clear="none">
<br clear="none">
----<br clear="none">
In god we trust, all others bring data.<br clear="none">
<br clear="none">
Zahtevaj IJZ na <a rel="nofollow" shape="rect" target="_blank" href="https://kurc.biolitika.si/">https://kurc.biolitika.si</a><br clear="none">
<br clear="none">
From: "Lucas Veiga" <<a rel="nofollow" shape="rect" ymailto="mailto:lucasfip@yahoo.com.br" target="_blank" href="mailto:lucasfip@yahoo.com.br">lucasfip@yahoo.com.br</a>><br clear="none">
To: <a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum@lists.r-forge.r-project.org">adegenet-forum@lists.r-forge. r-project.org</a><br clear="none">
Sent: Thursday, October 12, 2017 1:34:19 AM<br clear="none">
Subject: [adegenet-forum] Dots in the DAPC graphic<br clear="none">
<br clear="none">
Dear all,I would like to know what I can do for the dots in DAPC graph to be colored according to the populations and not according to the DAPC analysis groups?<br clear="none">
<br clear="none">
Best regards,<br clear="none">
Lucas Veiga Ayres Pimenta<br clear="none">
______________________________ _________________<br clear="none">
adegenet-forum mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum@lists.r-forge.r-project.org">adegenet-forum@lists.r-forge. r-project.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum">https://lists.r-forge.r- project.org/cgi-bin/mailman/ listinfo/adegenet-forum</a><br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
-------------- next part --------------<br clear="none">
An HTML attachment was scrubbed...<br clear="none">
URL: <<a rel="nofollow" shape="rect" target="_blank" href="http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20171012/32d4d4d6/attachment-0001.html">http://lists.r-forge.r- project.org/pipermail/ adegenet-forum/attachments/ 20171012/32d4d4d6/attachment- 0001.html</a>><br clear="none">
<br clear="none">
------------------------------<br clear="none">
<br clear="none">
Message: 3<br clear="none">
Date: Fri, 13 Oct 2017 10:38:57 +0200 (CEST)<br clear="none">
From: Roman Lu?trik <<a rel="nofollow" shape="rect" ymailto="mailto:roman.lustrik@biolitika.si" target="_blank" href="mailto:roman.lustrik@biolitika.si">roman.lustrik@biolitika.si</a>><br clear="none">
To: Lucas Veiga <<a rel="nofollow" shape="rect" ymailto="mailto:lucasfip@yahoo.com.br" target="_blank" href="mailto:lucasfip@yahoo.com.br">lucasfip@yahoo.com.br</a>><br clear="none">
Cc: <a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum@lists.r-forge.r-project.org">adegenet-forum@lists.r-forge. r-project.org</a><br clear="none">
Subject: Re: [adegenet-forum] Dots in the DAPC graphic<br clear="none">
Message-ID:<br clear="none">
 <<a rel="nofollow" shape="rect" ymailto="mailto:181441774.286421.1507883937636.JavaMail.zimbra@biolitika.si" target="_blank" href="mailto:181441774.286421.1507883937636.JavaMail.zimbra@biolitika.si">181441774.286421. 1507883937636.JavaMail.zimbra@ biolitika.si</a>><br clear="none">
Content-Type: text/plain; charset="utf-8"<br clear="none">
<br clear="none">
A-ha, I think I see where you're getting at. Right now I'm not sure it's possible to have DAPC groups with samples colored by some specific variable. Perhaps Thibaut will be able to chime in. If I'm right, this is something we could think about in the upcoming
 releases.<br clear="none">
<br clear="none">
In the mean time, you can construct your own plot, taking bits and pieces from <a rel="nofollow" shape="rect" target="_blank" href="https://github.com/thibautjombart/adegenet/blob/master/R/dapc.R#L539">
https://github.com/ thibautjombart/adegenet/blob/ master/R/dapc.R#L539</a><br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
Cheers,<br clear="none">
Roman<br clear="none">
<br clear="none">
----<br clear="none">
In god we trust, all others bring data.<br clear="none">
<br clear="none">
Zahtevaj IJZ na <a rel="nofollow" shape="rect" target="_blank" href="https://kurc.biolitika.si/">https://kurc.biolitika.si</a><br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
From: "Lucas Veiga" <<a rel="nofollow" shape="rect" ymailto="mailto:lucasfip@yahoo.com.br" target="_blank" href="mailto:lucasfip@yahoo.com.br">lucasfip@yahoo.com.br</a>><br clear="none">
To: "Roman Lu?trik" <<a rel="nofollow" shape="rect" ymailto="mailto:roman.lustrik@biolitika.si" target="_blank" href="mailto:roman.lustrik@biolitika.si">roman.lustrik@biolitika.si</a>><br clear="none">
Cc: <a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum@lists.r-forge.r-project.org">adegenet-forum@lists.r-forge. r-project.org</a><br clear="none">
Sent: Thursday, October 12, 2017 2:03:35 PM<br clear="none">
Subject: Re: [adegenet-forum] Dots in the DAPC graphic<br clear="none">
<br clear="none">
Dear Roman,<br clear="none">
First, thank you for the help. Unfortunaly, apparently your command not worked for me. I will try explain better my situation. I work with phytopathology and the fungus that I work affects different crops (I have put in my input file .csv the crops as my populations,
 different crops are different populations). Due the migration of genotypes of the fungus between the crops, inside of one group formed by DAPC there are genotypes obtained of different crops (populations) and for better viewing of this migration I want to
 plot the dots according of the hosts and not according of the groups formed by DAPC analysis. So, inside of one group there will are dots of different colors.<br clear="none">
I hope have explain better my situation and that you can help me.<br clear="none">
<br clear="none">
Best regards,<br clear="none">
Lucas Veiga Ayres pimenta<br clear="none">
<br clear="none">
<br clear="none">
Em Quinta-feira, 12 de Outubro de 2017 5:49, Roman Lu?trik <<a rel="nofollow" shape="rect" ymailto="mailto:roman.lustrik@biolitika.si" target="_blank" href="mailto:roman.lustrik@biolitika.si">roman.lustrik@biolitika.si</a>> escreveu:<br clear="none">
<br clear="none">
<br clear="none">
Map `grp` argument to your desired grouping. Make sure that you pass `col` the correct number of colors which should match the number of groups you are specifying.<br clear="none">
By default, coloring is done on grouping ( see here ). See this example:<br clear="none">
<br clear="none">
library(adegenet)<br clear="none">
<br clear="none">
data(H3N2)<br clear="none">
pop(H3N2) <- factor(H3N2$other$epid)<br clear="none">
dapc1 <- dapc(H3N2, var.contrib=FALSE, scale=FALSE, n.pca=150, n.da=5)<br clear="none">
<br clear="none">
data.frame(dapc1$grp, pop(H3N2)) # they are matching<br clear="none">
<br clear="none">
Cheers,<br clear="none">
Roman<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
----<br clear="none">
In god we trust, all others bring data.<br clear="none">
<br clear="none">
Zahtevaj IJZ na <a rel="nofollow" shape="rect" target="_blank" href="https://kurc.biolitika.si/">https://kurc.biolitika.si</a><br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
From: "Lucas Veiga" <<a rel="nofollow" shape="rect" ymailto="mailto:lucasfip@yahoo.com.br" target="_blank" href="mailto:lucasfip@yahoo.com.br">lucasfip@yahoo.com.br</a>><br clear="none">
To: <a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum@lists.r-forge.r-project.org">adegenet-forum@lists.r-forge. r-project.org</a><br clear="none">
Sent: Thursday, October 12, 2017 1:34:19 AM<br clear="none">
Subject: [adegenet-forum] Dots in the DAPC graphic<br clear="none">
<br clear="none">
Dear all,<br clear="none">
I would like to know what I can do for the dots in DAPC graph to be colored according to the populations and not according to the DAPC analysis groups?<br clear="none">
<br clear="none">
Best regards,<br clear="none">
Lucas Veiga Ayres Pimenta<br clear="none">
<br clear="none">
______________________________ _________________<br clear="none">
adegenet-forum mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum@lists.r-forge.r-project.org">adegenet-forum@lists.r-forge. r-project.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum">https://lists.r-forge.r- project.org/cgi-bin/mailman/ listinfo/adegenet-forum</a><br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
-------------- next part --------------<br clear="none">
An HTML attachment was scrubbed...<br clear="none">
URL: <<a rel="nofollow" shape="rect" target="_blank" href="http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20171013/aedaf8eb/attachment.html">http://lists.r-forge.r- project.org/pipermail/ adegenet-forum/attachments/ 20171013/aedaf8eb/attachment. html</a>><br clear="none">
<br clear="none">
------------------------------<br clear="none">
<br clear="none">
______________________________ _________________<br clear="none">
adegenet-forum mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum@lists.r-forge.r-project.org">adegenet-forum@lists.r-forge. r-project.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum">https://lists.r-forge.r- project.org/cgi-bin/mailman/ listinfo/adegenet-forum</a><br clear="none">
<br clear="none">
End of adegenet-forum Digest, Vol 110, Issue 11<br clear="none">
****************************** *****************<br clear="none">
<br clear="none">
<br clear="none">
______________________________ _________________<br clear="none">
adegenet-forum mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum@lists.r-forge.r-project.org">adegenet-forum@lists.r-forge. r-project.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum">https://lists.r-forge.r- project.org/cgi-bin/mailman/ listinfo/adegenet-forum</a><br clear="none">
<br clear="none">
<br clear="none">
-------------- next part --------------<br clear="none">
An HTML attachment was scrubbed...<br clear="none">
URL: <<a rel="nofollow" shape="rect" target="_blank" href="http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20171016/4437dedc/attachment.html">http://lists.r-forge.r- project.org/pipermail/ adegenet-forum/attachments/ 20171016/4437dedc/attachment. html</a>><br clear="none">
<br clear="none">
------------------------------<br clear="none">
<br clear="none">
______________________________ _________________<br clear="none">
adegenet-forum mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum@lists.r-forge.r-project.org">adegenet-forum@lists.r-forge. r-project.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum">https://lists.r-forge.r- project.org/cgi-bin/mailman/ listinfo/adegenet-forum</a><br clear="none">
<br clear="none">
End of adegenet-forum Digest, Vol 110, Issue 13<br clear="none">
****************************** *****************</span></div> 
</blockquote>
</div>
<div class="yiv0717832304MsoNormal" style="background:white;"><span style="">  </span></div> 
</div>
</div>
</div>
</div>
<div class="yiv0717832304MsoNormal" style="margin-bottom:12.0pt;background:white;"><span style="">_______________________________________________<br clear="none">
adegenet-forum mailing list<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:adegenet-forum@lists.r-forge.r-project.org" target="_blank" href="mailto:adegenet-forum@lists.r-forge.r-project.org">adegenet-forum@lists.r-forge.r-project.org</a><br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum</a></span></div> 
</div>
</div>
</div>
</div>
</div></div>
</div>
</div></div><br><br></div>  </div> </div>  </div></div></body></html>