Learn R Programming

gggenomes (version 1.0.1)

track_info: 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, ...)

Value

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

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)

Examples

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

Run the code above in your browser using DataLab