You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When making networks, nodes representing one population (but not necessarily one sample) are displayed as pies. This is not very aesthetic and could even be misleading because the pie might suggest presence of a second population.
Here is a minimal reproducible example (tested with the master and the devel branches).
Another illustration of this can be found on StackOverflow.
I found a way to make single population pie as circle. This involved modification of the msn_handlers.R file on the master branch. But I noticed that this file does not exist anymore on the devel branch. In this case, modifications need to be done in the visualizations.r file.
Anyway, I made modifications on both branches. They can be reviewed here and here and tested with the minimal example above.
If you find this useful, please let me know what branch needs to be merged.
Fred
The text was updated successfully, but these errors were encountered:
Thank you for the report and the solution! Please do make a pull request (from your changes to the master branch) and I will perform a code review. 😃
For reference, I don't use the "devel" branch anymore because it made more sense just to maintain stability on the master branch and then have experiments on separate branches with clear names. Here's the process I strive for: https://github.com/grunwaldlab/poppr/blob/master/CONTRIBUTING.md
Hi Zhian,
First, thanks for developing this useful package.
When making networks, nodes representing one population (but not necessarily one sample) are displayed as pies. This is not very aesthetic and could even be misleading because the pie might suggest presence of a second population.
Here is a minimal reproducible example (tested with the
master
and thedevel
branches).Another illustration of this can be found on StackOverflow.
I found a way to make single population pie as circle. This involved modification of the
msn_handlers.R
file on themaster
branch. But I noticed that this file does not exist anymore on thedevel
branch. In this case, modifications need to be done in thevisualizations.r
file.Anyway, I made modifications on both branches. They can be reviewed here and here and tested with the minimal example above.
If you find this useful, please let me know what branch needs to be merged.
Fred
The text was updated successfully, but these errors were encountered: