ggDomain: Add a Topological Domain to a Count Heatmap

View source: R/ggCountHeatmap.R

ggDomainR Documentation

Add a Topological Domain to a Count Heatmap

Description

Add a Topological Domain to a Count Heatmap

Usage

ggDomain(td, dx = NULL, delta = 0.04, vline = 0, size = 2, color = "#666666")

Arguments

td

A single-row data.frame.

dx, delta, vline

Absolute distance to heatmap. If dx = NULL (default), then dx = delta * w + vline where w is the width of the domain.

size, color

The thickness and color of the domain line.

Value

A ggplot2::geom_segment object to be added to the count heatmap.


HenrikBengtsson/TopDom documentation built on April 9, 2023, 2:11 a.m.