size.Heatmap: A function to estimate the drawing size of Heatmap object

View source: R/ComplexHeatmap_utils.R

size.HeatmapR Documentation

A function to estimate the drawing size of Heatmap object

Description

A function to estimate the drawing size of Heatmap object

Usage

size.Heatmap(ht, unitTo = "inch")

Arguments

ht

Heatmap object, an output of draw(a_Heatmap_object) and accuracy slots

unitTo

The coordinate system to convert the unit to. See the unit function for valid coordinate systems, to be passed to grid::convertHeight() and grid::convertWidth() functions.

Value

a list of width and height in "unitTo"


skimlab/CCSBUtils documentation built on March 30, 2022, 4:52 a.m.