The purpose of the cal_pairwise() function is to perform a pairwise intersection calculation among multiple BED files and then display with corrplot

calPairwise(
  bed_list,
  picture = T,
  method = "pie",
  color = "Blues",
  tl_col = "black"
)

Arguments

bed_list

A list contains records of all bed files(Read by function get_beds()).

picture

Reture plot object. Default: TRUE.

method

Method of corrplot. Default: 'pie', can be "circle", "square", "ellipse", "number", "shade", "color", "pie".

color

Color of glyphs.

tl_col

Color of textg.

Value

A matrix/corrplot of pairwised intersection

Examples

# Get beds using get_beds
beds <- get_beds(c('path1', 'path2', ... ))
#> Error in parse_bedpath(bedpaths, pattern = pattern): '...' used in an incorrect context

plot <- cal_pairwise(beds)
#> Error in cal_pairwise(beds): could not find function "cal_pairwise"