create a new upsetjs dash adapter
upsetjsDash(children = NULL, id = NULL, width = NULL, height = NULL)
dash children
dash id
upsetjs width
upestjs height
the set object
upsetjsDash("u") %>% fromList(list(a = c(1, 2, 3), b = c(2, 3)))
#> $props
#> $props$children
#> [1] "u"
#>
#> $props$renderMode
#> [1] "upset"
#>
#> $props$sets
#> $props$sets[[1]]
#> $name
#> [1] "a"
#>
#> $type
#> [1] "set"
#>
#> $elems
#> [1] 1 2 3
#>
#> $cardinality
#> [1] 3
#>
#> $color
#> NULL
#>
#> attr(,"class")
#> [1] "upsetjs_set"
#>
#> $props$sets[[2]]
#> $name
#> [1] "b"
#>
#> $type
#> [1] "set"
#>
#> $elems
#> [1] 2 3
#>
#> $cardinality
#> [1] 2
#>
#> $color
#> NULL
#>
#> attr(,"class")
#> [1] "upsetjs_set"
#>
#>
#> $props$combinations
#> $props$combinations[[1]]
#> $name
#> [1] "a"
#>
#> $type
#> [1] "intersection"
#>
#> $elems
#> [1] 1 2 3
#>
#> $color
#> NULL
#>
#> $cardinality
#> [1] 3
#>
#> $setNames
#> [1] "a"
#>
#> $degree
#> [1] 1
#>
#> attr(,"class")
#> [1] "upsetjs_combination"
#>
#> $props$combinations[[2]]
#> $name
#> [1] "a&b"
#>
#> $type
#> [1] "intersect"
#>
#> $elems
#> [1] 2 3
#>
#> $color
#> NULL
#>
#> $cardinality
#> [1] 2
#>
#> $setNames
#> [1] "a" "b"
#>
#> $degree
#> [1] 2
#>
#> attr(,"class")
#> [1] "upsetjs_combination"
#>
#> $props$combinations[[3]]
#> $name
#> [1] "b"
#>
#> $type
#> [1] "intersection"
#>
#> $elems
#> [1] 2 3
#>
#> $color
#> NULL
#>
#> $cardinality
#> [1] 2
#>
#> $setNames
#> [1] "b"
#>
#> $degree
#> [1] 1
#>
#> attr(,"class")
#> [1] "upsetjs_combination"
#>
#>
#> $props$elems
#> [1] 1 2 3
#>
#> $props$expressionData
#> [1] FALSE
#>
#> $props$attrs
#> list()
#>
#>
#> $type
#> [1] "DashUpSetJS"
#>
#> $namespace
#> [1] "upsetjs"
#>
#> $propNames
#> [1] "children" "id"
#> [3] "height" "width"
#> [5] "renderMode" "mode"
#> [7] "attrs" "sets"
#> [9] "combinations" "queryLegend"
#> [11] "queries" "interactive"
#> [13] "selection" "heightRatios"
#> [15] "widthRatios" "padding"
#> [17] "barPadding" "dotPadding"
#> [19] "numericalScale" "bandScale"
#> [21] "title" "description"
#> [23] "setName" "combinationName"
#> [25] "combinationNameAxisOffset" "barLabelOffset"
#> [27] "setNameAxisOffset" "fontFamily"
#> [29] "fontSizes" "exportButtons"
#> [31] "className" "theme"
#> [33] "selectionColor" "alternatingBackgroundColor"
#> [35] "color" "hasSelectionColor"
#> [37] "textColor" "hoverHintColor"
#> [39] "notMemberColor" "valueTextColor"
#> [41] "strokeColor" "opacity"
#> [43] "hasSelectionOpacity" "filled"
#>
#> $package
#> [1] "upsetjs"
#>
#> attr(,"class")
#> [1] "dash_component" "upsetjs_upset_dash" "upsetjs_common_dash"
#> [4] "list"