View source: R/functions_feature_plots.R
ssvFeatureEuler | R Documentation |
Try to load a bed-like file and convert it to a GRanges object
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 value from 0 to 1. Alpha value for circle fill |
line_alpha |
numeric value from 0 to 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
data(CTCF_in_10a_overlaps_gr)
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.