A generic method to plot KM curves
create.KM.plot(
riskgroup = NULL,
survtime = NULL,
survstat = NULL,
file.name = NULL,
main.title = "",
resolution = 100
)
A vector containing dichotomized risk groups
A vector containing survival time of the samples
A vector containing survival status of the samples
A string containing full qualified path of the output tiff file
A string specifying main title of the image
A numeric value specifying resolution of the tiff image of KM survival curves. Defaults to 100
The KM survival curves are stored under output.dir
/graphs/