top_rows_overlap-matrix-method: Overlap of top rows from different top-value methods

top_rows_overlap-matrix-methodR Documentation

Overlap of top rows from different top-value methods

Description

Overlap of top rows from different top-value methods

Usage

## S4 method for signature 'matrix'
top_rows_overlap(object, top_value_method = all_top_value_methods(),
    top_n = round(0.25*nrow(object)),
    method = c("euler", "upset", "venn", "correspondance"),
    fill = NULL, ...)

Arguments

object

A numeric matrix.

top_value_method

Methods defined in all_top_value_methods.

top_n

Number of top rows.

method

euler: plot Euler diagram by euler; upset: draw the Upset plot by UpSet; venn: plot Venn diagram by venn; correspondance: use correspond_between_rankings.

fill

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 or correspond_between_rankings.

Details

It first calculates scores for every top-value method and make plot by top_elements_overlap.

Value

No value is returned.

Author(s)

Zuguang Gu <z.gu@dkfz.de>

See Also

top_elements_overlap

Examples

set.seed(123)
mat = matrix(rnorm(1000), nrow = 100)
top_rows_overlap(mat, top_n = 25)

jokergoo/cola documentation built on Feb. 29, 2024, 1:41 a.m.