Learn R Programming

strvalidator (version 0.1)

modelDropout: model drop-out events

Description

modelDropout model probability of dropout and plots a graph.

Usage

modelDropout(data, plotPI = TRUE, conf = 0.95, xmin = NA,
    xmax = NA, ymin = 0, ymax = 1, col.line = 1,
    col.conf = 3)

Arguments

data
data frame in GeneMapper format containing at least a column 'Allele'.
plotPI
logical. TRUE if prediction intervals should be plotted with the given confidence limit 'conf'.
conf
numerical specifying confidence limit for the prediction interval.
xmin
numerical setting for the x axis.in the plot.
xmax
numerical setting for the x axis.in the plot.
ymin
numerical setting for the y axis.in the plot.
ymax
numerical setting for the y axis.in the plot.
col.line
value setting the line color of the prediction.
col.conf
value setting the line color of the prediction interval.

Details

Models the probability of dropout P(D) using logistic regression logit P(P;H) = B0 + B1*log(H), where 'H' is the peak height. Produce a plot showing the model prediction, optionally with given prediction interval. Parameters 'xmin', 'ymin', and 'ymax' affect the plot, and 'col.line' and 'col.conf' is the colour of the prediction line and prediction interval lines respectively.