get_track_data: Get meta-data of a track

View source: R/track.R

get_track_dataR Documentation

Get meta-data of a track

Description

Get meta-data of a track

Usage

get_track_data(field, track_index = current_track_index())

Arguments

field

Name, see Details section.

track_index

Which track?

Details

There are following fields that can be retrieved for a given track:

  • ymin Lower boundary of the data.

  • ymax Upper boundary of the data.

  • ycenter (ymin + ymax)/2

  • ylim c(ylim, ymax)

  • yrange ymax - ymin

  • height Height of the track, measured as the fraction of the distance between two neighbouring circles.

It is more suggested to directly use TRACK_META to retrieve meta data for the current track.

Value

A numeric value of the corresponding field.

Examples

# There is no example
NULL


spiralize documentation built on Aug. 9, 2022, 5:09 p.m.