Overlap of top rows from different top-value methods

# S4 method for ConsensusPartitionList
top_rows_overlap(object, top_n = min(object@list[[1]]@top_n),
    method = c("euler", "upset", "venn", "correspondance"), fill = NULL, ...)

Arguments

object

A ConsensusPartitionList-class object.

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

Value

No value is returned.

Author

Zuguang Gu <z.gu@dkfz.de>

Examples

data(golub_cola)
top_rows_overlap(golub_cola, method = "euler")

top_rows_overlap(golub_cola, method = "upset")

top_rows_overlap(golub_cola, method = "venn")

top_rows_overlap(golub_cola, method = "correspondance")