Learn R Programming

circlize (version 0.4.10)

convert_y: Convert unit on y direction in data coordinate

Description

Convert unit on y direction in data coordinate

Usage

convert_y(
    x,
    unit = c("mm", "cm", "inches"),
    sector.index = get.current.sector.index(),
    track.index = get.current.track.index())

Arguments

x

a numeric vector

unit

supported units, only "mm", "cm", "inches"

sector.index

index for the sector where the conversion is applied

track.index

index for the track where the conversion is applied

Value

A vector of numeric values which are measured in the specified data coordinate

See Also

For pre-defined units, users can use cm_y, mm_y and inches_y.

convert_x converts on x direction.

https://jokergoo.github.io/circlize_book/book/circular-layout.html#convert-functions

Examples

Run this code
# NOT RUN {
# see example on `convert_x` page 
NULL
# }

Run the code above in your browser using DataLab