This function calls 'getVennCounts()' and draws and UpSet plot using the UpSetR package.
upsetPeaks(
peaks,
conds = names(peaks),
conds_order = conds,
order.by = "freq",
mainbar.y.label = "Intersect size",
sets.x.label = "Set size",
...
)
List of dataframes with the genomic coordinates of the regions to overlap. Dataframes must contain the columns seqnames, start, end.
Character with the same length as the 'peaks' list. The names that are given to the diferente objects in the 'peaks' list. Default: 'names(peaks)'
Character of the same length as 'conds'. Same values as in 'conds' but with the desired order of priority. Default: 'conds'.
Same as in UpSetR::upset(). One of "freq", "degree" or both.
Same as in UpSetR::upset().
Same as in UpSetR::upset().
Further arguments to be passed through 'UpSetR::upset()'.
(Not available yet) Character of length 1 or NULL. Title of the plot shown at the top. Passed through grid.arrange(). If NULL, title is not shown. Default: NULL
plyranges
UpSetR