get_track_data | R Documentation |
Meta-data of a track
get_track_data(field, track_index = current_track_index())
field |
Name of the field, see the Details section. |
track_index |
The index of the track. |
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.
A numeric vector (of length one or two) for the corresponding field.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.