create.KM.plot | R Documentation |
A generic method to plot KM curves
create.KM.plot( riskgroup = NULL, survtime = NULL, survstat = NULL, file.name = NULL, main.title = "", resolution = 100 )
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 |
file.name |
A string containing full qualified path of the output tiff file |
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 |
The KM survival curves are stored under output.dir
/graphs/
Syed Haider
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.