jmw86069 / venndir

Venn diagrams with directionality (concordance), optional display of items inside the figure, text Venn diagrams
https://jmw86069.github.io/venndir
Other
6 stars 0 forks source link

options to avoid printing labels not working #3

Closed biointf closed 2 months ago

biointf commented 1 year ago

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:

Schermata 2022-10-20 alle 13 27 52

May you check the code please? I tried to wotk on label_df object in the function but unsuccesfully Many thanks Luca

jmw86069 commented 1 year 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:

In the updated venndir:

jmw86069 commented 2 months ago

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.

biointf commented 2 months ago

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: @.***>