Sorry, I have not experience using ggplotify.
I discovered it because I need my script to save UpSetR output to a png file.
So I tried to adapt some code from comments in this UpSetR issue:
library("UpSetR")
listInput <- list(
one = c(1,2,3,5,7,8,11,12,13),
two=c(1,2,4,5,10),
three=c(1,5,6,7,8,9,10,12,13)
)
upset(fromList(listInput), order.by="freq")
library(ggplotify)
as.ggplot(upset(fromList(listInput), order.by="freq"))
But (as also reported in the original issue) something is wrong with that because the left part of upset graph is missing.
How should I change the code to get the full UpSetR graph and save it to a png file?
Thanks a lot in advance for your help
original UpSetR output:

with ggplotify:
