top_elements_overlap {cola} | R Documentation

## Overlap of top elements from different metrics

### Description

Overlap of top elements from different metrics

### Usage

    top_elements_overlap(object, top_n = round(0.25*length(object[[1]])),
        method = c("euler", "venn", "correspondance"), ...)

### Arguments

`object` | A list which contains values from different metrics.
`top_n` | Number of top rows.
`method` | `euler`: plot Euler diagram by `euler`; `venn`: plot Venn diagram by `venn`; `correspondance`: use `correspond_between_rankings`.
`...` | Additional arguments passed to `plot.euler` or `correspond_between_rankings`.

### Details

The i^th value in every vectors in `object` should correspond to the same element from the original data.

### Value

No value is returned.

### Author(s)

Zuguang Gu <z.gu@dkfz.de>

### Examples

    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 = 25, method = "venn")
    top_elements_overlap(lt, top_n = 25, method = "correspondance")

[Package cola version 1.4.1 Index]