ssvFeatureUpset {seqsetvis} | R Documentation |
Uses the UpSetR package to create an upset plot of overlaps.
ssvFeatureUpset( object, return_UpSetR = FALSE, nsets = NULL, nintersects = 15, order.by = "freq", ... )
object |
will be passed to |
return_UpSetR |
If TRUE, return the UpSetR object, The default is FALSE and results in a ggplotified version compatible with cowplot etc. |
nsets |
Number of sets to look at |
nintersects |
Number of intersections to plot. If set to NA, all intersections will be plotted. |
order.by |
How the intersections in the matrix should be ordered by. Options include frequency (entered as "freq"), degree, or both in any order. |
... |
Additional parameters passed to |
ggplot version of UpSetR plot
ssvFeatureUpset(list(1:3, 2:6)) ssvFeatureUpset(CTCF_in_10a_overlaps_gr) ssvFeatureUpset(S4Vectors::mcols(CTCF_in_10a_overlaps_gr)[,2:3])