create.sensitivity.plot {SIMMS} | R Documentation |
Plots sensitivity analysis for class label dichotomization at supplied survtime cutoffs
Description
A method to computer sensitivity, specificity and accuracy at all the survtime cutoff steps provided
Usage
create.sensitivity.plot(
riskscore = NULL,
riskgroup = NULL,
survtime = NULL,
survstat = NULL,
survtime.cutoffs = c(seq(5, 10, 1)),
output.directory = ".",
file.stem = NULL,
main.title = "",
resolution = 100
)
Arguments
riskscore |
A vector containing predicted risk scores |
riskgroup |
A vector containing dichotomized risk groups |
survtime |
A vector containing survival time of the samples |
survstat |
A vector containing survival status of the samples |
survtime.cutoffs |
A vector containing cutoff time points used to dichotomize patients into low- and high-risk groups |
output.directory |
Path to the output folder where intermediate and results files will be saved |
file.stem |
A string containing base name for image and text files produced by this method |
main.title |
A string specifying main title of the image |
resolution |
A numeric value specifying resolution of the tiff image of KM survival curves. Defaults to 100 |
Value
The sensitivity analysis plots are stored under
output.directory
/graphs/. The sensitivity analysis results are stored
under output.directory
/output/
Author(s)
Syed Haider