[adegenet-forum] scatterplot color by original population

Thibaut Jombart thibautjombart at gmail.com
Thu Apr 27 11:45:16 CEST 2017


Hi there,

What analysis are you using? If this is in a DAPC context, I just
answered a question which itself quoted a solution posted on this
forum a while back ;)

Cheers
Thibaut

--
Dr Thibaut Jombart
Lecturer, Department of Infectious Disease Epidemiology, Imperial College London
Head of RECON: repidemicsconsortium.org
sites.google.com/site/thibautjombart/
github.com/thibautjombart
Twitter: @TeebzR
+44(0)20 7594 3658


On 26 April 2017 at 15:46, Harned, Sydney P. <s.harned at miami.edu> wrote:
> Hello,
>
> Someone posted this question a few years back but it never got answered. I
> have a scatter plot with 3 clusters, and the individuals in each come from
> different source populations. I want to color each point according to its
> source population, kind of like in this example:
>
> https://figshare.com/articles/_Genetic_structure_of_the_PWN_field_samples_from_the_USA_/653650
>
> Does anyone know how to go about this? I’m pretty new to RStudio so any help
> is appreciated.
>
> Sydney
>
>
> _______________________________________________
> adegenet-forum mailing list
> adegenet-forum at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum


More information about the adegenet-forum mailing list