Meta-data of a track
get_track_data(field, track_index = current_track_index())Name of the field, see the Details section.
The index of the track.
A numeric vector (of length one or two) for the corresponding field.
There are following fields that can be retrieved for a given track:
ymin: Minimal value on the y-axis.
ymax: Maximal value on the y-axis.
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 spiral loops.
It is more suggested to directly use TRACK_META to retrieve meta data for the current track.