View source: R/Calculate_Nakaya2015.R
Calculate_Nakaya2015 | R Documentation |
Calculate_Nakaya2015
calculates the endpoint used in Nakaya et al. 2015
Calculate_Nakaya2015( dat_list, subjectCol = "SubjectID", responseLabels = paste0(c("low", "high"), "Responder"), na_action = "na.fail", ... )
dat_list |
a named list like the one returned by |
subjectCol |
the name of the column specifying a subject ID. Default is "SubjectID". |
responseLabels |
names for low and high responses |
na_action |
how should missing |
... |
Additional arguments passed to |
First calculate the maximum fold change (MFC) derived titer metric described in Nakaya et al. 2015. Then check whether both of these conditions are satisfied: i) MFC is at least a 4-fold increase ii) The "Post" antibody titer is 1:40 or more for at least 1 strain Subjects are classified as high responders if they satisfy both conditions and low responders otherwise.
Missing (NA
) values are handled by being returned as missing in the
endpoints in the output
A list with the following elements:
a data frame containing the MFC and indicator variables that determine whether subject is a low or high responder (see details)
a named vector containing the discretized endpoint
Stefan Avey
Nakaya HI, et al. (2015) Systems Analysis of Immunity to Influenza Vaccination across Multiple Years and in Diverse Populations Reveals Shared Molecular Signatures. Immunity 43(6):1186-1198.
CalculateMFC
## Prepare the data titer_list <- FormatTiters(Year2_Titers) ## Calculate the endpoint endpoints <- Calculate_Nakaya2015(titer_list) summary(endpoints)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.