View source: R/find_common_hit.R
plot_common_hit | R Documentation |
This method plot the hits in common among the three methods is
a wrapper for the ggvenn
function.
plot_common_hit(
hit_zscore,
hit_camera,
hit_roast,
alpha = 0.5,
stroke_size = 0.5,
set_name_size = 4,
text_color = "black",
text_size = 4,
show_percentage = TRUE,
title = "",
color = c("#1B9E77", "#D95F02", "#7570B3"),
show_elements = TRUE
)
hit_zscore |
The list of hits of the |
hit_camera |
The list of hits of the |
hit_roast |
The list of hits of the |
alpha |
A value for the opacity of the plot. Allowed values are in the range 0 to 1 |
stroke_size |
Stroke size for drawing circles |
set_name_size |
Text size for set names |
text_color |
Text color for intersect contents |
text_size |
Text size for intersect contents |
show_percentage |
Show percentage for each set |
title |
The title to display above the plot |
color |
The three vector color for the venn |
show_elements |
Show set elements instead of count/percentage. |
A vector containing the common hit
hit_zscore <- data.frame(Gene = c("A", "B", "C", "D", "E"))
hit_camera <- data.frame(Gene = c("A", "B", "C", "F", "H", "G"))
hit_roast <- data.frame(Gene = c("A", "L", "N"))
plot_common_hit(hit_zscore, hit_camera, hit_roast)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.