Function to plot STS

plot_sts(
  st_counts,
  order_by_count = FALSE,
  remove_legend = TRUE,
  colour_fill = FALSE,
  single_colour_fill = "#C5CBE3",
  display_column_numbers = TRUE
)

Arguments

st_counts

Generated using the count_sts function

order_by_count

Boolean that determines whether to order columns by ST Count

remove_legend

Boolean that determines whether to remove legend

colour_fill

Boolean that determines whether to fill STs using different colours

single_colour_fill

If not using different colours this will be the fill colour used

display_column_numbers

Boolean that determines whether to display counts in columns

Value

ggplot object of the ST plot