[adegenet-forum] DAPC "reduced" confidence ellipse

Jombart, Thibaut t.jombart at imperial.ac.uk
Wed Feb 25 13:52:56 CET 2015

Hi Massi,

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.

From: adegenet-forum-bounces at lists.r-forge.r-project.org [adegenet-forum-bounces at lists.r-forge.r-project.org] on behalf of Virgilio Massimiliano [massimiliano.virgilio at africamuseum.be]
Sent: 25 February 2015 10:54
To: adegenet-forum at lists.r-forge.r-project.org
Subject: [adegenet-forum] DAPC "reduced" confidence ellipse

good morning,

I have a nice scatter graph of my dapc:

        scree.pca=TRUE, ratio.pca=0.15,
        scree.da=TRUE, ratio.da=0.15,
        cstar=1,  axesell=FALSE,
        cex=1, grid=FALSE, addaxes=TRUE)

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

I’m not sure this is really possible though…

many thanks in advance for your answer

all the best


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20150225/6f93b8ee/attachment.html>

More information about the adegenet-forum mailing list