addCustomLabelsCommands: Add custom label plotting commands

Description Usage Arguments Value Author(s)

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

1
.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


iSEE documentation built on Feb. 3, 2021, 2:01 a.m.