create.KM.plot {SIMMS}R Documentation

Plots Kaplan-meier survival curve for a given risk grouping & survival params

Description

A generic method to plot KM curves

Usage

create.KM.plot(
  riskgroup = NULL,
  survtime = NULL,
  survstat = NULL,
  file.name = NULL,
  main.title = "",
  resolution = 100
)

Arguments

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

Value

The KM survival curves are stored under output.dir/graphs/

Author(s)

Syed Haider


[Package SIMMS version 1.3.2 Index]