View source: R/Calculate_preGMT.R
Calculate_preGMT | R Documentation |
Calculate_preGMT
calculates the log-transformed pre-vaccination geometric mean titer (pre-GMT)
Calculate_preGMT(dat_list, subjectCol = "SubjectID")
dat_list |
a named list like the one returned by |
subjectCol |
the name of the column specifying a subject ID. Default is "SubjectID". |
Non-logged HAI titers for each strain are used to calculate the geometric mean and the geometric mean for each subject is subsequently log2-transformed.
A named vector containing the pre-GMT for each subject
Stefan Avey
## Prepare the data titer_list <- FormatTiters(Year2_Titers) Calculate_preGMT(titer_list)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.