ssvFeatureEuler: Try to load a bed-like file and convert it to a GRanges...

View source: R/functions_feature_plots.R

ssvFeatureEulerR Documentation

Try to load a bed-like file and convert it to a GRanges object

Description

Try to load a bed-like file and convert it to a GRanges object

Usage

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
)

Arguments

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.

Value

ggplot of venneuler results

Examples

ssvFeatureEuler(list(1:3, 2:6))
ssvFeatureEuler(CTCF_in_10a_overlaps_gr)
ssvFeatureEuler(S4Vectors::mcols(CTCF_in_10a_overlaps_gr)[,2:3])

jrboyd/seqsetvis documentation built on March 17, 2024, 3:14 p.m.