plotUpset | R Documentation |
UpSet plot
plotUpset(object, ...)
## S4 method for signature 'DFrame'
plotUpset(object, ...)
## S4 method for signature 'data.frame'
plotUpset(object, ...)
## S4 method for signature 'list'
plotUpset(object, ...)
## S4 method for signature 'matrix'
plotUpset(
object,
minSize = 0L,
maxSize = Inf,
nIntersections = 40L,
orderBySize = c(intersections = TRUE, sets = TRUE),
labels = list(title = NULL, subtitle = NULL)
)
object |
Object. |
... |
Additional arguments. |
minSize , maxSize |
Non-negative |
nIntersections |
|
orderBySize |
Can pass in |
labels |
|
S4 wrapper for ComplexUpset::upset()
with improved default aesthetics.
Plot.
Updated 2022-04-05.
intersectionMatrix()
.
ComplexUpset::upset()
.
ComplexUpset::upset_themes
.
UpSetR package (legacy approach).
## list ====
list <- list(
"aaa" = c("a", "b", "c", "d", "e", "f"),
"bbb" = c("b", "c", "d", "e", "f", "g"),
"ccc" = c("c", "d", "e", "f", "g", "h"),
"ddd" = c("d", "e", "f", "g", "h", "i")
)
print(list)
plotUpset(list)
## matrix ====
mat <- AcidBase::intersectionMatrix(list)
print(mat)
plotUpset(mat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.