top_elements_overlap.Rd
Overlap of top elements from different metrics
A list which contains values from different metrics.
Number of top rows.
euler
: plot Euler diagram by euler
; upset
: draw the Upset plot by UpSet
; venn
: plot Venn diagram by venn
; correspondance
: use correspond_between_rankings
.
Filled color for the Euler diagram. The value should be a color vector. Transparency of 0.5 are added internally.
Additional arguments passed to plot.euler
, UpSet
or correspond_between_rankings
.
The i^th value in every vectors in object
should correspond to the same element from the original data.
No value is returned.
require(matrixStats)
set.seed(123)
mat = matrix(rnorm(1000), nrow = 100)
lt = list(sd = rowSds(mat), mad = rowMads(mat))
top_elements_overlap(lt, top_n = 20, method = "euler")
top_elements_overlap(lt, top_n = 20, method = "upset")
top_elements_overlap(lt, top_n = 20, method = "venn")
#> Registered S3 method overwritten by 'gplots':
#> method from
#> plot.venn eulerr
top_elements_overlap(lt, top_n = 20, method = "correspondance")