
Visualize genelists gene overlap in an interactive UpSet plot
Source:R/plot_genelists_overlap.R
plot_genelists_overlap_upsetjs.RdUpSetJS examples: https://upset.js.org/integrations/r/articles/combinationModes.html#distinct-intersection-mode
Usage
plot_genelists_overlap_upsetjs(
genelists,
mode = "distinct",
interactive = FALSE,
main.color = "black",
highlight.color = "green"
)Arguments
- genelists
UI value/list of tibbles/dataframes
- mode
string, default: 'intersect', else 'distinct' or 'union' - how to overlap the listed genes
- interactive
default: FALSE, else TRUE
- main.color
default: 'white' else character hexcolor or colorname
- highlight.color
default: 'green' else character hexcolor or colorname
Examples
plot_genelists_overlap_upsetjs(list(
A = get(load(system.file("extdata", "example_genelist.rda", package = "goatea"))),
B = get(load(system.file("extdata", "example_genelist.rda", package = "goatea")))
))