Description Usage Arguments Value Examples
View source: R/functions_feature_plots.R
Try to load a bed-like file and convert it to a GRanges object
1 2 3 4 5 6 7 8 9 10 | ssvFeatureEuler(
object,
line_width = 2,
shape = c("circle", "ellipse")[1],
n_points = 200,
fill_alpha = 0.3,
line_alpha = 1,
circle_colors = NULL,
return_data = FALSE
)
|
object |
A membership table |
line_width |
numeric, passed to size aesthetic to control line width |
shape |
shape argument passed to eulerr::euler |
n_points |
number of points to use for drawing ellipses, passed to eulerr:::ellipse |
fill_alpha |
numeric [0,1], alpha value for circle fill |
line_alpha |
numeric [0,1], alpha value for circle line |
circle_colors |
colors to choose from for circles. passed to ggplot2 color scales. |
return_data |
logical. If TRUE, return value is no longer ggplot and is instead the data used to generate that plot. Default is FALSE. |
ggplot of venneuler results
1 2 3 | ssvFeatureEuler(list(1:3, 2:6))
ssvFeatureEuler(CTCF_in_10a_overlaps_gr)
ssvFeatureEuler(S4Vectors::mcols(CTCF_in_10a_overlaps_gr)[,2:3])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.