powered by
This function plots doses of radiation against the cancer cell survival fractions thereby observed.
plotCurve(D, SF, pars, filename = "dose_response_plot.pdf", fit_curve = TRUE, SF_as_log = TRUE)
vector of radiation doses
vector of survival fractions corresponding to the doses
parameters (alpha, beta) in the equation SF = exp(-alpha * D - beta * D ^ 2)
name of PDF which will be created by the function
should the graph include a linear-quadratic curve of best fit? Defaults to TRUE
should SF be expressed in log10 on the graph? Defaults to TRUE
# NOT RUN { plotCurve(c(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10), c(1.1, 0.8, 0.7, 0.45, 0.15, -0.1, -0.1, -0.4, -0.65, -0.75, -1.1), filename = NULL) # }
Run the code above in your browser using DataLab