Learn R Programming

spiralize (version 1.0.6)

get_track_data: Get meta-data of a track

Description

Get meta-data of a track

Usage

get_track_data(field, track_index = current_track_index())

Value

A numeric value of the corresponding field.

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.

Examples

Run this code
# There is no example
NULL

Run the code above in your browser using DataLab