Skip to contents

graph antibody decay curves by antigen isotype

Usage

# S3 method for class 'curve_params'
autoplot(object, antigen_isos = unique(object$antigen_iso), ...)

Arguments

object

a data.frame() of curve parameters (one or more MCMC samples)

antigen_isos

antigen isotypes to analyze (can subset curve_params)

...

Arguments passed on to graph_seroresponse_model_1

ncol

how many columns of subfigures to use in panel plot

Value

a ggplot2::ggplot() object

Examples

# \donttest{
library(dplyr)
#> 
#> Attaching package: ‘dplyr’
#> The following objects are masked from ‘package:stats’:
#> 
#>     filter, lag
#> The following objects are masked from ‘package:base’:
#> 
#>     intersect, setdiff, setequal, union
library(ggplot2)
library(magrittr)

curve <-
  serocalculator_example("example_curve_params.csv") |>
  read.csv() |>
  as_curve_params() |>
  filter(antigen_iso %in% c("HlyE_IgA", "HlyE_IgG")) |>
  autoplot()

curve

# }