Skip to content

High-level colour argument to assign a specific colour to the whole plot (bars, query bars, matrix, geoms, stripes) #216

@gdebreczeni

Description

@gdebreczeni

Is your feature request related to a problem? Please describe.
I live in the world of corporate colours. On occasions I need the whole plot (bars, matrix, query bars) to be just one specific colour (apart from the inactive "grey" and the black count colour).

Describe the solution you'd like
One high-level argument, something like: plot_colour = #007681, which would assign this colour to the bars, query bars, geoms and the lines connecting the geoms in using just this one argument. Potentially the stripes, too, i.e. the inactive grey and (a light version of ) the specified colour.

Describe alternatives you've considered
Currently doing it manually.

Context (required)
ComplexUpset version: ‘1.3.3’

R version details
               _                                
platform       x86_64-w64-mingw32               
arch           x86_64                           
os             mingw32                          
crt            ucrt                             
system         x86_64, mingw32                  
status                                          
major          4                                
minor          5.2                              
year           2025                             
month          10                               
day            31                               
svn rev        88974                            
language       R                                
version.string R version 4.5.2 (2025-10-31 ucrt)
nickname       [Not] Part in a Rumble           
R session information
R version 4.5.2 (2025-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 11 x64 (build 22631)

Matrix products: default
  LAPACK version 3.12.1

locale:
[1] LC_COLLATE=English_United Kingdom.utf8  LC_CTYPE=English_United Kingdom.utf8   
[3] LC_MONETARY=English_United Kingdom.utf8 LC_NUMERIC=C                           
[5] LC_TIME=English_United Kingdom.utf8    

time zone: Europe/London
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] ggplot2_3.5.2      ComplexUpset_1.3.3 lubridate_1.9.2    dplyr_1.1.2       

loaded via a namespace (and not attached):
 [1] vctrs_0.6.5        patchwork_1.3.0    cli_3.6.2          rlang_1.1.3        pkgload_1.3.3     
 [6] generics_0.1.3     labeling_0.4.2     glue_1.7.0         colorspace_2.1-2   scales_1.4.0      
[11] fansi_1.0.4        grid_4.5.2         tibble_3.2.1       lifecycle_1.0.4    compiler_4.5.2    
[16] RColorBrewer_1.1-3 timechange_0.2.0   pkgconfig_2.0.3    rstudioapi_0.15.0  farver_2.1.1      
[21] R6_2.5.1           tidyselect_1.2.0   utf8_1.2.3         pillar_1.9.0       magrittr_2.0.3    
[26] withr_2.5.0        tools_4.5.2        gtable_0.3.3      

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions