[adegenet-forum] Changes to Scatter Function
t.jombart at imperial.ac.uk
Mon Jul 4 15:13:14 CEST 2011
thanks for the feeback. For your questions:
> *Change the size of legend box and legend text/spacing etc
Nop. You will need to add the legend using "legend" for further customization.
> *Change the size of the plotted points (such as cex)
> *It was possible to change the size and text of the subtitle of the inset plot, but no longer possible.
Yes. I thought since the content is always the same, there was no need for adding yet another argument to change subtitles. Further customization is possible via add.scatter.eig and add.scatter (ade4 package).
> *When pch is changed on the graph it doesnt change in the legend
True. So far only the color is used in the legend. I will think about changing that in the next release. But again, easy to customize using 'legend'.
> *Why does scatter give a completely different plot when used with result from dudi.pca?
This is because 'scatter' is a generic function. If you look for the code:
function (x, ...)
So it actually calls different methods for objects with different classes. The method used on outputs of dudi.pca is scatter.dudi; there is a scatter.dapc for dapc objects.
From: adegenet-forum-bounces at r-forge.wu-wien.ac.at [adegenet-forum-bounces at r-forge.wu-wien.ac.at] on behalf of Roy Francis Mathew [RoyFrancis.Mathew at agrsci.dk]
Sent: 02 July 2011 15:33
To: adegenet-forum at r-forge.wu-wien.ac.at
Subject: Re: [adegenet-forum] Changes to Scatter Function
I have noticed that the scatter function has been improved and arguments have changed slightly.
The addition of the legend is helpful. And the other additional features are fantastic.
I was wondering if the following are possible:
*Change the size of legend box and legend text/spacing etc
*Change the size of the plotted points (such as cex)
*It was possible to change the size and text of the subtitle of the inset plot, but no longer possible.
*When pch is changed on the graph it doesnt change in the legend
*Why does scatter give a completely different plot when used with result from dudi.pca?
Thanks in advance,
Roy Mathew Francis
royfrancis.mathew at agrsci.dk
+45 52809424 (mob)
Department of Integrated Pest Management
Faculty of Agricultural Sciences
Forsøgsvej 1, Slagelse, DK 4200
This email may contain information that is confidential.
Any use or publication of this email without written
permission from Faculty of Agricultural Sciences is not
allowed. If you are not the intended recipient, please
notify Faculty of Agricultural Sciences immediately and
delete this email.
adegenet-forum mailing list
adegenet-forum at lists.r-forge.r-project.org
More information about the adegenet-forum