create.KM.plot: Plots Kaplan-meier survival curve for a given risk grouping &...

create.KM.plotR 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


SIMMS documentation built on April 24, 2022, 5:06 p.m.