Skip to contents

Plot curve summary character table for one group or batch

Usage

plot_summary_table_char(
  curve_summary_grp,
  dilution_summary_grp = lifecycle::deprecated()
)

Arguments

curve_summary_grp

A one row data frame or tibble containing curve summary

dilution_summary_grp

[Deprecated] dilution_summary_grp was renamed to curve_summary_grp.

Value

A gridtable object consisting of one table. The first column is the column names of curve_summary_grp which are characters or factors or logical. The second column is their corresponding values. If there are no character/factor/logical columns in curve_summary_grp, NULL will be returned

Examples

wf1_group <- c("Poor Linearity")

wf2_group <- c("Saturation")

r_corr <- c(0.951956)

pra_linear <- c(65.78711)

mandel_p_val <- c(2.899006e-07)

concavity <- c(-4133.501328)

curve_summary_grp <- data.frame(
  wf1_group = wf1_group,
  wf2_group = wf2_group,
  r_corr = r_corr,
  pra_linear = pra_linear,
  mandel_p_val = mandel_p_val,
  concavity = concavity
)

table <- plot_summary_table_char(curve_summary_grp)

grid::grid.draw(table)


# No character/factor/logical column case
curve_summary_grp <- data.frame(r_corr = r_corr)

table <- plot_summary_table_char(curve_summary_grp)

table
#> NULL