powered by
specify the chart layout
chartLayout( upsetjs, height.ratios = NULL, width.ratios = NULL, padding = NULL, bar.padding = NULL, dot.padding = NULL, numerical.scale = NULL, band.scale = NULL )
an object of class upsetjs or upsetjs_proxy
upsetjs
upsetjs_proxy
a vector of length 2 for the ratios between the combination and set plot, e.g. c(0.6, 0.4)
a vector of length 3 for the ratios between set, label, and combination plot, e.g. c(0.3,0.2,0.5)
padding around the plot
padding ratio (default 0.1) for the bar charts
padding factor (default 0.7) for the dots
numerical scale: linear (default) or log
band scale: band (default)
the object given as first argument
# NOT RUN { upsetjs() %>% fromList(list(a=c(1,2,3), b=c(2,3))) %>% chartLayout(width.ratios=c(0.4, 0.2, 0.4)) # }
Run the code above in your browser using DataLab