addCustomLabelsCommands: Add custom label plotting commands

.addCustomLabelsCommandsR Documentation

Add custom label plotting commands

Description

Add ggplot instructions to add custom labels to specified points in a DotPlot. This is a utility function that is intended for use in .generateDotPlot.

Usage

.addCustomLabelsCommands(x, commands, plot_type)

Arguments

x

An instance of a DotPlot class.

commands

A character vector representing the sequence of commands to create the ggplot object.

plot_type

String specifying the type of plot, e.g., "scatter", "square", "violin".

Value

A character vector containing commands plus any additional commands required to generate the labels.

Author(s)

Kevin Rue-Albrecht, Aaron Lun


csoneson/SEE documentation built on Dec. 13, 2024, 6:43 p.m.