and it is really easy to use R to show barplots, but what I need is transform the P and Q output files into a phylogenetic tree to see the populations . It its possible to use in PHYLIP or other related program?
thanks, more or less this is what i'm looking for. The point is to use admixture values as distances, isn't it? I guess dist function is calculating the euclidena distances between admxture values
@Zev Yes, please share your script, even if it's just the essential snippets. If you paste it into this answer and it's useful you will surely get upvotes.
If you want to create a phylogenetic tree using your GWAS data I would highly recommend you to use a standard genetic distance for the distance matrix and not just an euclidian distance. For example, you could calculate Fst values (between your populations or individuals) and then use this matrix to create your tree using PHYLIP or any other program (MEGA is also very easy to use).
Fst values to compute NJ trees when using GWAS data is what most authors do.
thanks, more or less this is what i'm looking for. The point is to use admixture values as distances, isn't it? I guess dist function is calculating the euclidena distances between admxture values