Get expression input which can be used in upset plot
get_upset_input(source_df, names)
A dataframe contains key and value(From get_combine_result())
A vector includes the names of each bed
A vector can be used in UpSetR fromExpression
# 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
get_upset_input(inputs, names)
#> Error in get_upset_input(inputs, names): could not find function "get_upset_input"