Learn R Programming

hyperoverlap (version 1.1.4)

hyperoverlap_pairs_plot: Overlap heatmap plotting for analysis of multiple entities

Description

This function plots a matrix of overlap.

Usage

hyperoverlap_pairs_plot(x, cols = pal)

Value

A ggplot object

Arguments

x

A matrix of the form produced by produced by hyperoverlap_set() (see Details).

cols

A vector of colours (default: c("red","blue")).

Details

Input matrix must contain columns named "entity1", "entity2" and "result"

Examples

Run this code
hyperoverlap.iris.set = hyperoverlap_set(iris[1:3],iris$Species, kernel="linear")
hyperoverlap_pairs_plot(hyperoverlap.iris.set)

Run the code above in your browser using DataLab