Description Usage Arguments Details Value Examples
View source: R/FunctionsImmunogenicitySample.R
Function creates the immunogenicity subset based on the chosen method.
1 2 3 | ImmunogenicitySubset(diseased,
nondiseased,
method = list(name = "Full", value = NA))
|
diseased |
|
nondiseased |
|
method |
named list: a selected method for creating the immunogenicity subset method$name
method$value
|
The total immunogenicity subset consists of the diseased immunogenicity subset and non-diseased immunogenicity subset. For all three methods implemented, we assume that the diseased immunogenicity subset contains all disease cases in the trial. Based on the chosen method, the the size of the non-diseaded immunogenicity subset can be derived as follows:
Size = number of subjects in the non-diseased immunogenicity subset
Titers = values of titers from which we want to sample in order to simulate the non-diseased immunogenicity subset
#Diseased = total number of diseased in the clinical trial
#Nondiseased = total number of non-diseased in the clinical trial
method$name = "Full"
Size = #Nondiseased
Titers = Nondiseased Titers
method$name = "Ratio"
Size = method$value * #Diseased
Titers = Nondiseased Titers
method$name = "Fixed"
Size = method$value
Titers = Nondiseased Titers + Diseased Titers
Immunogenicity subset with subject level information about vaccination status and disease status, provided in the form of Population-class
object
1 2 3 4 5 6 7 8 9 | ## Example 1
# Data preparation
data(diseased)
data(nondiseased)
ImmunogenicitySubset(diseased,
nondiseased,
method = list(name = "Ratio",
value = 4))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.