[adegenet-forum] scatter.dapc function plots only density of individuals

Jombart, Thibaut t.jombart at imperial.ac.uk
Wed Dec 10 16:32:58 CET 2014


I am guessing you have only two groups, in which case there is only one discriminant function for your dataset. Hence the 1-dimensional, density plot. Otherwise, you can select which axis is plotted using the arguments xax and yax.


Dr Thibaut Jombart
MRC Centre for Outbreak Analysis and Modelling
Department of Infectious Disease Epidemiology
Imperial College - School of Public Health
Norfolk Place, London W2 1PG, UK
Tel. : 0044 (0)20 7594 3658
Twitter: @thibautjombart
From: adegenet-forum-bounces at lists.r-forge.r-project.org [adegenet-forum-bounces at lists.r-forge.r-project.org] on behalf of Emiliano Trucchi [emi.trucchi at gmail.com]
Sent: 10 December 2014 15:14
To: adegenet-forum at lists.r-forge.r-project.org
Subject: [adegenet-forum] scatter.dapc function plots only density of individuals

Hi there,

I have a basic problem with the graphic function scatter.dapc.
> scatter(dapc1)

I plot the density of individuals in my groups and not the scatterplot as expected.

Versions: adegenet 1-4.2; R 3.1.1

Thanks in advance for the help

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

More information about the adegenet-forum mailing list