<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" style="word-wrap:break-word; color:rgb(0,0,0)">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><font size="2">Hi Massi,
<br>
<br>
tough one! For this kind of customisation you'd have to calculate the ellipse manually. To figure out how it's done in ade4, check out the code of s.class, and scatterutil.ellipse.<br>
<br>
Cheers<br>
Thibaut<br>
</font>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF756275"><font face="Tahoma" size="2" color="#000000"><b>From:</b> adegenet-forum-bounces@lists.r-forge.r-project.org [adegenet-forum-bounces@lists.r-forge.r-project.org] on behalf of Virgilio Massimiliano [massimiliano.virgilio@africamuseum.be]<br>
<b>Sent:</b> 25 February 2015 10:54<br>
<b>To:</b> adegenet-forum@lists.r-forge.r-project.org<br>
<b>Subject:</b> [adegenet-forum] DAPC "reduced" confidence ellipse<br>
</font><br>
</div>
<div></div>
<div>
<div style="font-family:Calibri,sans-serif; font-size:14px"><span style="font-family:Helvetica; font-size:12px">good morning,</span></div>
<div><font face="Helvetica"><span style="font-size:12px"><br>
</span></font>
<div style="font-family:Helvetica; font-size:12px">I have a nice scatter graph of my dapc:</div>
<div style="font-family:Helvetica; font-size:12px"><br>
</div>
<div style="font-family:Helvetica; font-size:12px">
<div>scatter(dapc348_country, </div>
<div> col=myColCountry, </div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>clabel=.5,</div>
<div> bg="grey",</div>
<div> cellipse=2.5,</div>
<div> scree.pca=TRUE, ratio.pca=0.15, </div>
<div> scree.da=TRUE, ratio.da=0.15, </div>
<div> cstar=1, axesell=FALSE,</div>
<div> cex=1, grid=FALSE, addaxes=TRUE)</div>
<div><br>
</div>
</div>
<div style="font-family:Helvetica; font-size:12px">what I would like to do is to re-draw one of the confidence ellipses by excluding a few outliers from one of the populations and possibly show all ellipses calculated for each population + the “reduced” ellipse
calculated on the population with excluded outliers</div>
<div style="font-family:Helvetica; font-size:12px"><br>
</div>
<div style="font-family:Helvetica; font-size:12px">I’m not sure this is really possible though…</div>
<div style="font-family:Helvetica; font-size:12px"><br>
</div>
<div style="font-family:Helvetica; font-size:12px">many thanks in advance for your answer</div>
<div style="font-family:Helvetica; font-size:12px"><br>
</div>
<div style="font-family:Helvetica; font-size:12px">all the best</div>
<div style="font-family:Helvetica; font-size:12px"><br>
</div>
<div style="font-family:Helvetica; font-size:12px">Massi</div>
</div>
<div style="font-family:Calibri,sans-serif; font-size:14px"><br>
</div>
</div>
</div>
</div>
</body>
</html>