ggDomainLabel: Add a Topological Domain Label to a Count Heatmap

Description Usage Arguments Value

View source: R/ggCountHeatmap.R

Description

Add a Topological Domain Label to a Count Heatmap

Usage

1
2
3
4
5
6
7
8
ggDomainLabel(
  td,
  fmt = "%s: %.2f - %.2f Mbp",
  rot = 45,
  dx = 0,
  vjust = 2.5,
  cex = 1.5
)

Arguments

td

A single-row data.frame.

fmt

The base::sprintf-format string taking (chromosome, start, stop) as (string, numeric, numeric) input.

rot

The amount of rotation in [0,360] of label.

dx, vjust

The vertical adjustment of the label (relative to rotation)

cex

The scale factor of the label.

Value

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


TopDom documentation built on May 6, 2021, 9:07 a.m.