Based on tidyselect::vars_pull
. Powers track selection in pull_track()
.
Catches and modifies errors from vars_pull to track-relevant info.
vars_track(
x,
track_id,
track_type = c("seqs", "feats", "links"),
ignore = NULL
)
The selected track_id as an unnamed string
A gggenomes or gggenomes_layout object
a quoted or unquoted name or as positive/negative integer giving the position from the left/right.
restrict to these types of tracks - affects position-based selection
names of tracks to ignore when selecting by position.