Skip to contents

Plot mean centered samples without putative outliers

Usage

pcr_lib_qc_plot_outliers(lib_qc)

Arguments

lib_qc

Output of pcr_lib_qc

Value

a ggplot

Details

A sample is deemed an outlier if, upon its removal, it is more that 3Z from the mean of the remaining. This boundary of +/-3Z is demarcated by the shaded area. Gray samples are outliers. Samples |Z| > 10 away are denoted by arrows (<<<) pointing in their direction as well as with their Z

Examples

system.file("extdata", "untidy-standard-curve.xlsx", package = "amplify") |>
  pcr_tidy(pad_zero = TRUE) |>
  pcr_lib_calc() |>
  pcr_lib_qc() |>
  pcr_lib_qc_plot_outliers()
#> Warning: Removed 54 rows containing missing values (geom_text).
#> Warning: Removed 1 rows containing missing values (geom_point).