[R-sig-networks] customization of divMigrate plot

Rufaida Al Breiki Ralbreiki7 at hotmail.com
Thu Feb 16 13:23:17 CET 2017


Dear all,


I am using diveRsity package to produce migration network plot.

The input file is a genepop file encoded as 3 digits per allelel of SNPs markers named as "genepop_file.gen".

The migration network was plotted using  "divMigrate" function as follows:


migRes <- divMigrate("genepop_gen.gen", plot_network = T, filter_threshold = 0.5)

the output:





[cid:5f3b6ec2-8e7e-44e5-9ace-57ab50065801]

I would appreciate if any one help me to   customize this out put for:
1- assign different color to each circle "group" (1-9)?
2- modify the groups names in the legend?

Thanks in advance,

Rufaida









-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-networks/attachments/20170216/6a1fdb7e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedImage.png
Type: image/png
Size: 41561 bytes
Desc: pastedImage.png
URL: <https://stat.ethz.ch/pipermail/r-sig-networks/attachments/20170216/6a1fdb7e/attachment-0001.png>


More information about the R-sig-networks mailing list