JonahBrooks / poppr

Note: This is an old fork. For complete project see grunwaldlab/poppr. -- Most of the C code (and their R wrappers) was written by me.
http://www.github.com/grunwaldlab/poppr
0 stars 0 forks source link

Minimum Spanning Networks #1

Open zkamvar opened 10 years ago

zkamvar commented 10 years ago

Minimum spanning networks in poppr are currently implemented in bruvo.msn and poppr.msn using the igraph package. I have two requests for these networks:

  1. Detect ties in edge weights and add them to the network, creating loops.
  2. Allow the user to draw the minimum spanning networks according to the results of mlg.filter where assigned multilocus genotypes are either clustered together in the same node or highlighted in a meaningful fasion.
JonahBrooks commented 10 years ago

Part 1 of this has been implemented in commit 3bca8ab44f6ee8959ab29eab13cf85925affde34 with unit tests in commit d10566eceb021f2c2219638b45f3ca4473ce4f60

Part 2 has not yet been implemented. I'll comment here again when it's complete.

JonahBrooks commented 10 years ago

Minor changes have been added in commit e5101197fddb0ca5a1c536ffd70af281ed4c1b06 These changes allow for tie breaks in single population msns, as well as expanded unit tests and consistency between functions.