Typically, the MFI values associated with standard curve
samples should decrease as we dilute the samples. However,
sometimes in high dilutions, the MFI presents a non monotonic behavior.
In that case, MFI values associated with dilutions above (or equal to)
high_dose_threshold
should be removed from the analysis.
For the nplr
model the recommended number of standard curve samples
is at least 4. If the high dose hook effect is detected but the number
of samples below the high_dose_threshold
is lower than 4,
additional warning is printed and the samples are not removed.
The function returns a logical vector that can be used to subset the MFI values.
Value
sample selector (logical()
)