R/utils.R
get_combine_result.Rd
Get intersection result which can be used as input of venn/upset plot.
get_combine_result(bed_list)
A list contains records of all bed files(Read by function get_beds()).
A dataframe with columns key and value, where key represents combination of each bed and value represents the number of intervals.
# Get beds using get_beds
beds <- get_beds(c('path1', 'path2', ... ))
#> Error in parse_bedpath(bedpaths, pattern = pattern): '...' used in an incorrect context
# Use get_combine_result() to get intersection result
# The processing time may vary depending on the number of sets involved
inputs <- get_combine_result(beds)
#> Error in eval(expr, envir, enclos): object 'beds' not found