bagcik1lumc

Results 6 comments of bagcik1lumc

Last, how can I remove the x-axis ticks on the left bottom plot, the y-axis ticks on the bar plot and show percentages on the left bottom plot? This concerns...

I've seen the example, but it does not explain how to remove the y-ticks in the base_annotations. If I add theme(axis.ticks.y=element_blank()) it will remove the whole bar plot

``` upset( head(M4_BinaryMatrix, 100), colnames(M4_BinaryMatrix), base_annotations = list('Intersection size'=intersection_size(text_mapping=aes(label=paste0(round( !!get_size_mode('exclusive_intersection')/!!get_size_mode('inclusive_union') * 100 ), '%'))) + ylab("") + theme(axis.ticks.y=element_blank(), plot.background=element_rect(fill='#E5D3B3'))), name = "", annotations = list(), themes = upset_themes, stripes =...

![image](https://user-images.githubusercontent.com/98951777/209978947-8fe60f60-a3e9-4782-9618-33e38c533db3.png) I would also like to add percentages next or onto the bars, instead of on the x-scale.

``` { library(ggplot2) library(ComplexUpset) } set_size(8, 3) upset( M1_BinaryMatrix, colnames(M1_BinaryMatrix), min_degree = 2, base_annotations = list( 'Intersection ratio'=intersection_ratio(text_mapping=aes(label=!!upset_text_percentage())) + ylab("") + theme(axis.text.y=element_blank()) ), sort_intersections_by='ratio', name = "", annotations = list(),...