PoDBAYEfficacy: PoDBAY efficacy estimation

Description Usage Arguments Details Value Examples

View source: R/FunctionsPODBAYEfficacy.R

Description

Function calculates the PoDBAY efficacy based on the set of PoD curve parameters calculated in PoDParamEstimation function, vaccinated and control immunogenicity subset means and standard deviations.

Usage

1
2
3
4
5
6
PoDBAYEfficacy(estimatedParameters,
              blindVaccinated,
              blindControl,
              adjustTiters = FALSE,
              adjustFrom = log2(10),
              adjustTo = log2(5))

Arguments

estimatedParameters

named data frame ("pmax", "slope", "et50"): set of estimated PoD curve parameters

blindVaccinated

Population-class object: vaccinated subjects from immunogenicity subset, containing N, mean, standard deviation information

blindControl

Population-class object: control subjects from immunogenicity subset, containing N, mean, standard deviation information

adjustTiters

boolean: set to TRUE if titer values should be adjusted, for details see PoD function

adjustFrom

numeric: value specifying the detection limit, all values below the detection limit will be adjusted to adjustTo value

adjustTo

numeric: value to which titers below the detection limit will be adjusted

Details

Application of efficacyComputation function to the all PoD curves (each characterized by three PoD parameters) estimated by PoDParamEstimation function.

Inputs into the efficacyComputation are:

Value

efficacySet, set of PoDBAY effficacies corresponding to estimated set of PoD curve parameters

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
## Data preparation
data(diseased)
data(nondiseased)
data(estimatedParameters)

## Example 1
# Creating imunogenicity subset, method = "Ratio", value = 4
ImmunogenicitySubset <- 
  BlindSampling(diseased, 
                nondiseased, 
                method = list(name = "Ratio", 
                              value = 4))
                              
# Estimating PoD curve parameters
nondiseasedGenerationCount <- nondiseased$N

estimatedParameters <- PoDParamEstimation(diseased$titers,
                       ImmunogenicitySubset$ImmunogenicityNondiseased$titers,
                       nondiseasedGenerationCount,
                       repeatCount = 10)
                       
# Estimating PoDBAY efficacy  
PoDBAYEfficacy(estimatedParameters$results,
              ImmunogenicitySubset$ImmunogenicityVaccinated,
              ImmunogenicitySubset$ImmunogenicityControl)

PoDBAY documentation built on Sept. 21, 2021, 5:08 p.m.