Calculate_Thakar2015: Calculate Thakar2015

View source: R/Calculate_Thakar2015.R

Calculate_Thakar2015R Documentation

Calculate Thakar2015

Description

Calculate_Thakar2015 calculates a response definition based on a Four Fold change to At Least Two Strains (Thakar2015).

Usage

Calculate_Thakar2015(
  dat_list,
  subjectCol = "SubjectID",
  responseLabels = c("NR", "X", "R")
)

Arguments

dat_list

a named list like the one returned by FormatTiters.

subjectCol

the name of the column specifying a subject ID. Default is "SubjectID".

responseLabels

names for low, middle, and high responses

Details

Subjects are responders (default "R") if they acheive a 4-fold or greater fold change in titer to at least 2 strains, nonresponders (default "NR") if they do not acheive a 4-fold or greater fold change in titer to any strain, and intermediate (default "X") otherwise. Missing (NA) values are handled by being returned as missing in the endpoints in the output

Value

A named list with 1 element named "Thakar2015" containing the response ("NR", "X", or "R").

Author(s)

Stefan Avey

References

Thakar J, et al. (2015) Aging-dependent alterations in gene expression and a mitochondrial signature of responsiveness to human influenza vaccination. Aging (Albany NY) 7(1):38-52.

Examples

## Prepare the data
titer_list <- FormatTiters(Year2_Titers)

Calculate_Thakar2015(titer_list)

stefanavey/titer documentation built on Jan. 27, 2023, 3:41 a.m.