t.jombart at imperial.ac.uk
Mon Jan 6 15:38:43 CET 2014
there is currently no simple way of adding the population information to the plot. The only practical one would need assuming that individuals are sorted by population, which is not usually the case. An alternative would be adding coloured symbols above / below the bars for each individual, but this would become quickly unreadable.
In your case, if you want to save some daunting programming and just need this for a restricted number of plots, I would advise i) sorting individuals per population ii) saving the figure as .svg iii) editing it using inkscape to add vertical lines separating populations and annotations.
In case you've never used it, inkscape is an outstanding free software for vector graphics available there:
From: adegenet-forum-bounces at lists.r-forge.r-project.org [adegenet-forum-bounces at lists.r-forge.r-project.org] on behalf of Rita Castilho [rita.castil at gmail.com]
Sent: 06 January 2014 11:35
To: adegenet-forum at lists.r-forge.r-project.org
Subject: [adegenet-forum] compoplot
Is there a way to graphically mark the origin info (populations, for
instance) in the compoplot? Small ticks below the plot, would do, with
the pop codes in between.
adegenet-forum mailing list
adegenet-forum at lists.r-forge.r-project.org
More information about the adegenet-forum