vars_track: Tidyselect track variables

View source: R/pull_tracks.R

vars_trackR Documentation

Tidyselect track variables

Description

Based on tidyselect::vars_pull. Powers track selection in pull_track(). Catches and modifies errors from vars_pull to track-relevant info.

Usage

vars_track(
  x,
  track_id,
  track_type = c("seqs", "feats", "links"),
  ignore = NULL
)

Arguments

x

A gggenomes or gggenomes_layout object

track_id

a quoted or unquoted name or as positive/negative integer giving the position from the left/right.

track_type

restrict to these types of tracks - affects position-based selection

ignore

names of tracks to ignore when selecting by position.

Value

The selected track_id as an unnamed string


thackl/gggenomes documentation built on March 10, 2024, 7:26 a.m.