make_labs: Construct plotmath labels for time lines

View source: R/plot.R

make_labsR Documentation

Construct plotmath labels for time lines

Description

Internal, called by 'plot_timeline'.

Usage

make_labs(description, description_width, ref_number)

Arguments

description

The text for the items to be shown beneath the images. Should be a character vector of the same length as 'image_path'.

description_width

Width of the description text in characters to wrap the text in the labels.

ref_number

A string of the number for reference. If NA, then the reference will not be included in the plot.

Value

A character vector of plotmath, to enable superscripts, italics, and text wrapping.


pachterlab/museumst documentation built on April 20, 2024, 11:26 p.m.