get_track_data {spiralize} | R 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
[Package spiralize version 1.0.6 Index]