track_info: Basic info on tracks in a gggenomes object

View source: R/tracks.R

track_infoR Documentation

Basic info on tracks in a gggenomes object

Description

Use track_info() to call on a gggenomes or gggenomes_layout object to return a short tibble with ids, types, index and size of the loaded tracks.

Usage

track_info(x, ...)

Arguments

x

A gggenomes or gggenomes_layout object

...

unused

Details

The short tibble contains basic information on the tracks within the entered gggenomes object.

  • id : Shows original name of inputted data frame (only when more than one data frames are present in a track).

  • type : The track in which the data frame is present.

  • i (index) : The chronological order of data frames in a specific track.

  • n (size) : Amount of objects plotted from the data frame. (not the amount of objects in the inputted data frame)

Value

Short tibble with ids, types, index and size of loaded tracks.

Examples

gggenomes(
  seqs = emale_seqs,
  feats= list(emale_genes, emale_tirs, emale_ngaros),
  links = emale_ava) |>
track_info()

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