coding_region_legend: coding_region_legend

View source: R/sequence_legend.R

coding_region_legendR Documentation

coding_region_legend

Description

coding_region_legend creates a very simplistic legend of the coding regions using ggplot2.

Usage

coding_region_legend(data, font.size = 6)

Arguments

data

A data.frame containing gene sequence data, which must contain the following columns:

  • "label" : label for the coding region

  • "colour" : colour for the coding region

font.size

Font size of labels in the legend, default to 6.


martinjhnhadley/gene.alignment.tables documentation built on June 19, 2022, 11:56 a.m.