yanlinlin82 / ggvenn

Venn Diagram by ggplot2, with really easy-to-use API.
Other
167 stars 25 forks source link

Request: higher precision option for percentages #11

Closed sheikki closed 3 years ago

sheikki commented 3 years ago

Because sometimes one decimal digit precision isn't enough..

yanlinlin82 commented 3 years ago

I have added a new parameter (digits) and released a new version (0.1.6). You may try it like:

ggvenn(d, digits = 2)

or

ggplot(d) + geom_venn(aes(A = `Set 1`, B = `Set 2`), digits = 2)