UpSet.js has a basic support for adapted version of Karnaugh Maps.
# devtools::install_url("https://github.com/upsetjs/upsetjs_r/releases/latest/download/upsetjs.tar.gz")
library(upsetjs)
<- list(one = c("a", "b", "c", "e", "g", "h", "k", "l", "m"), two = c("a",
listInput "b", "d", "e", "j"), three = c("a", "e", "f", "g", "h", "i", "j", "l", "m"))
<- upsetjsKarnaughMap() %>%
w fromList(listInput) %>%
interactiveChart()
w
same as for upsetjs
: fromList
,
fromDataFrame
, and fromExpression
not possible to define since the number of sections in the Venn diagrams are fixed
same as upsetjs
same as upsetjs
same as upsetjs
not supported
same as upsetjs
provided as a different function:
chartKarnaughMapLabels
upsetjsKarnaughMap() %>%
fromList(listInput) %>%
chartKarnaughMapLabels(title = "Chart Title", description = "this is a long chart description")