Skip to contents

Create TESS barplot using ggplot2

Usage

tess_ggbarplot(
  qmat,
  ggplot_fill = algatr_col_default("ggplot"),
  sort_by_Q = TRUE,
  legend = TRUE
)

Arguments

qmat

Q matrix

ggplot_fill

any ggplot2 scale fill discrete function (default: scale_fill_viridis_d, option = "turbo")

sort_by_Q

whether to sort bars by Q value (equivalent to barplot sort.by.Q)

legend

whether to display legend (defaults to TRUE)

Value

ggplot object of TESS results as a barplot