<div dir="ltr">Hi there, <div><br></div><div>scatter.dapc should only be used for dapc objects.</div><div><br></div><div>For further customisation of s.class graphics, I would recommend using adegraphics:</div><div><a href="https://cran.r-project.org/web/packages/adegraphics/vignettes/adegraphics.html">https://cran.r-project.org/web/packages/adegraphics/vignettes/adegraphics.html</a><br></div><div><br></div><div>Best</div><div>Thibaut</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br>--<br>Dr Thibaut Jombart<br>Lecturer, Department of Infectious Disease Epidemiology, Imperial College London<br>Head of RECON: <a href="http://repidemicsconsortium.org" target="_blank">repidemicsconsortium.org</a><br>WHO Consultant - outbreak analysis</div><div><a href="https://thibautjombart.netlify.com" target="_blank">https://thibautjombart.netlify.com</a><br>Twitter: @TeebzR<br>+44(0)20 7594 3658</div></div></div></div>
<br><div class="gmail_quote">On 29 March 2018 at 17:27, Daniel T. Baldassarre <span dir="ltr"><<a href="mailto:danieltb@princeton.edu" target="_blank">danieltb@princeton.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word;line-break:after-white-space">
Hello,
<div><br>
</div>
<div>I have a ‘genind' object with genotyped individuals assigned to known populations. I’m using ’s.class' and ‘scatter.dapc' to produce PCA plots where the individuals are colored by population. This works without any issue and produces beautiful
plots, but I’m wondering if there is a way to add values and labels to the XY axes as is done in, for example, ‘colorplot’.</div>
<div><br>
</div>
<div>Thanks!<br>
<div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<br>
---<br>
Daniel T. Baldassarre<br>
<br>
Postdoctoral Research Associate<br>
Riehl Lab, Dept of Eco and Evo Bio<br>
Princeton University<br>
106A Guyot Hall<br>
Princeton, NJ 08544<br>
609-258-4919<br>
<a href="http://danbaldassarre.weebly.com" target="_blank">danbaldassarre.weebly.com</a><br>
<br>
</div>
</div>
<br>
</div>
</div>
<br>______________________________<wbr>_________________<br>
adegenet-forum mailing list<br>
<a href="mailto:adegenet-forum@lists.r-forge.r-project.org">adegenet-forum@lists.r-forge.<wbr>r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum" rel="noreferrer" target="_blank">https://lists.r-forge.r-<wbr>project.org/cgi-bin/mailman/<wbr>listinfo/adegenet-forum</a><br></blockquote></div><br></div>