ssvFeatureUpset {seqsetvis} | R Documentation

## ssvFeatureUpset

### Description

Uses the UpSetR package to create an upset plot of overlaps.

### Usage

    ssvFeatureUpset(
      object,
      return_UpSetR = FALSE,
      nsets = NULL,
      nintersects = 15,
      order.by = "freq",
      ...
    )

### Arguments

`object` | will be passed to `ssvMakeMembTable` for conversion to membership matrix
`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 `upset` in the UpSetR package.

### Value

ggplot version of UpSetR plot

### Examples

    ssvFeatureUpset(list(1:3, 2:6))
    ssvFeatureUpset(CTCF_in_10a_overlaps_gr)
    ssvFeatureUpset(S4Vectors::mcols(CTCF_in_10a_overlaps_gr)[,2:3])

[Package seqsetvis version 1.12.0 Index]