Uses can use this function to get the number of merged intervals via Flower plot

plotFlower(
  bedpaths,
  names = NULL,
  pattern = ".bed",
  start = 90,
  a = 0.5,
  b = 2,
  r = 1.5,
  width = 10,
  height = 10,
  circle_text_cex = 1,
  circle_col = rgb(0, 162, 214, max = 255),
  ellipse_col = rgb(135, 206, 235, 150, max = 255)
)

Arguments

bedpaths

The vector contains the paths of bed files, can be dir_path.

names

Define the names of input files.

pattern

The suffix of the bed files. Default: '.bed'.

start

Start degree. Default: 90.

a

Width of the petal. Default: 0.5.

b

Length of the petal. Default: 2.

r

Radius of the core. Default: 1.5.

width

Width of the plot. Default: 10.

height

Heigth of the plot. Default: 10.

circle_text_cex

Text size of label around the petal. Default: 1

circle_col

Color of the core.

ellipse_col

Color of the petal.

Value

Ggplot object of venn

Examples

draw_flower(c('path1','path2', ...))
#> Error in draw_flower(c("path1", "path2", ...)): could not find function "draw_flower"