Skip to contents

Graph estimated antibody decay curve

Usage

graph.curve.params(
  curve_params,
  antigen_isos = unique(curve_params$antigen_iso),
  verbose = FALSE
)

Arguments

curve_params

a data.frame() containing MCMC samples of antibody decay curve parameters

antigen_isos

antigen isotypes

verbose

verbose output

Value

a ggplot2::ggplot() object

Examples

curve <-
  typhoid_curves_nostrat_100 |>
  dplyr::filter(antigen_iso %in% c("HlyE_IgA", "HlyE_IgG"))

plot1 <- graph.curve.params(curve)

print(plot1)
#> Warning: Removed 35 rows containing missing values or values outside the scale range
#> (`geom_line()`).