-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add custom themes to ggVennDiagram when force_upset = TRUE #68
Comments
I am sorry, the upset plot is a complex graph type which can not be plot by For example, you may export this graph to Powerpoint format. # need export package
library(export)
ggVenndiagram()
export::graph2ppt(file = "venn.pptx") and then edit the background by hand. |
Dear @gaospecial , Thanks for your quick answer. I understand now, I did not know that it was not a I actually want to customize the size of the labels of the three graphs, they become too small if the upset plot is too big. Is it possible then to add two options to control the size of the axis tick labels like the ones already available in the function? I see there is already an option |
Dear @gaospecial,
First, thanks for developing this amazing tool! ggVennDiagram has helped me make lots of figures until now.
I just found a little issue: ggVennDiagram accepts full customization using the ggplot2 grammar but when I try with
force_upset = T
, then it no longer works.For example:
Which returns the following graph with the background in red:
![image](https://private-user-images.githubusercontent.com/91054260/321175434-188617c6-0e56-422e-9316-3ab89a48426f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg4NTk2NzYsIm5iZiI6MTcxODg1OTM3NiwicGF0aCI6Ii85MTA1NDI2MC8zMjExNzU0MzQtMTg4NjE3YzYtMGU1Ni00MjJlLTkzMTYtM2FiODlhNDg0MjZmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIwVDA0NTYxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk3OTgxYjIzNzRkZjY1ZmZiZDIxZGE4ZWFlNDNiNmYxNzk4YzZlOGJjNmM5ODVjZGExMDZkNGFhODMzN2ZlMDMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.TPVPOcDt8LQsbHXIetQxyxISqZtUi4NIJEzgM6I7jgk)
But, while I can do the same in ggVennDiagram with force_upset = T:
Which returns:
![image](https://private-user-images.githubusercontent.com/91054260/321176424-8e2a0524-e300-4a8a-a619-ceaa2502f6f6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg4NTk2NzYsIm5iZiI6MTcxODg1OTM3NiwicGF0aCI6Ii85MTA1NDI2MC8zMjExNzY0MjQtOGUyYTA1MjQtZTMwMC00YThhLWE2MTktY2VhYTI1MDJmNmY2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIwVDA0NTYxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRjMzNiOWY0ZmQ3NTE4YWQ4MjYxYjg1ZDcwMDNhNjY1MTNhMWU0MGY2NzM3ZmY5ZjQ3NTU3N2JhZjYwNWJiMzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.TpJPRus26TbgzTGHiqSkMUr-kNqPfQ7tNnC6iPBXUvY)
If I now try to change the graph background (or any other theme property using the ggplot2 sintax) it returns:
NULL
Would it be possible to fix that so that customization of upset plots is easier following ggplot2's grammar? Thank you very much!
The text was updated successfully, but these errors were encountered: