Closed biointf closed 2 months ago
I appreciate you filing the issue above, and again somehow I missed it until recently! I'm so sorry. Heh. (I added some filters to my Github entry page to help.)
The figure above is a mess, I agree with you. The short summary is that I'm working on a few updates that I hope will help.
The most challenging aspect for me has been with proportional Venn (Euler) diagrams. The circles and overlaps are unpredictable: sometimes the overlaps do not exist; sometimes there is no unique place to label a circle, like the circle labeled "Actioned" above.
Some workarounds:
overlap_type="overlap"
# will hide all the arrows, since everything is up-arrow anyway.inside_percent_threshold=0
# will place all numbers into the center of the overlap region.plot_warning=FALSE
# will hide the warning message displayed behind the plot.font_cex=c(1, 0.7, 0.5)
# will size the main set label at 1x normal size, the total overlap count at 0.7x normal size, and the signed labels at 0.5x normal size.In the updated venndir
:
Closing this issue for now, but please re-open if you have similar use case.
I believe the scenario can be controlled in future using the argument show_labels="Nc"
in venndir()
, which will display only set names outside the diagram, counts inside each polygon, and will hide the directional arrows.
And yes, 7-way Venn diagrams are hard, but sometimes they can be really intuitive - as with nested circles. Thanks for posting the issue.
Many thanks James
Il giorno gio 20 giu 2024 alle ore 20:51 James Ward < @.***> ha scritto:
Closing this issue for now, but please re-open if you have similar use case.
I believe the scenario can be controlled in future using the argument show_labels="Nc" in venndir(), which will display only set names outside the diagram, counts inside each polygon, and will hide the directional arrows.
And yes, 7-way Venn diagrams are hard, but sometimes they can be really intuitive - as with nested circles. Thanks for posting the issue.
— Reply to this email directly, view it on GitHub https://github.com/jmw86069/venndir/issues/3#issuecomment-2181327982, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADCP7AOWACDZE4WSZRNVLTTZIMQCTAVCNFSM6AAAAABJUQMLSSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBRGMZDOOJYGI . You are receiving this because you authored the thread.Message ID: @.***>
Hi James I tried to print a 7-lists venn plot. Very nice plot but I need to manually customize the labels with %ages instead of items. I tried to set options about labels and sets printing to "off" e.g. venndir(setlist, proportional = TRUE, show_items = "none", show_label = "none", display_counts = FALSE,return_items = FALSE , show_set = "none" ) but the picture is still full of contents, as such:
May you check the code please? I tried to wotk on label_df object in the function but unsuccesfully Many thanks Luca