Skip to contents

Plot Cascade plot_cascade is a ggplot2-based plot that arranges, annotates and plots data from the 90-90-90 cascade. Four inputs are required to create a valid plot.

Usage

plot_cascade(.data, df_annot, cscd_num, p_title)

Arguments

.data

dataframe that is the result of return_cascade and assign_cscd_colors

df_annot

annotation dataframe created from the return_cascade_plot function

cscd_num

cascade number selected by the user

p_title

plot title derived from the cscd_num

Value

a ggplot2 object