equiv.ab | R Documentation |
This function inputs two antibody by response curves and outputs values needed for
plots of equivalent antibody response.
This is called by other functions (plotresp.equiv
, plotresp.mix
).
It is not to be called directly. For that purpose use equiv.increase
.
equiv.ab(effab1, ab1, effab2, ab2, npts = 100)
effab1 |
vector of responses for antibody 1 |
ab1 |
vector of doses of antibody 1 |
effab2 |
vector of responses for antibody 2 |
ab2 |
vector of doses of antibody 2 |
npts |
number of points used in some output |
The function uses the approx
function to do linear interpolation and find the needed
values.
A list containing:
abpts |
a vector of values of antibody dose |
abpts10 |
antilog of abpts, i.e., abpts raised to tenth power |
equiv.eff2 |
equivalent response of antibody 2 |
equiv.eff1 |
equivalent response of antibody 1 |
equiv.ab1 |
vector of antibody doses that correspond with equiv.eff1 |
x |
equiv.ab1-abpts |
y |
equiv.eff1 |
equiv.increase
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.