plotSurv: Plot Kaplan-Meier curve

Description Usage Arguments Value References See Also Examples

Description

Plot Kaplan-Meier curve of miRNA or mRNA

Usage

1
plotSurv(obj, subset, item, time, event)

Arguments

obj

a corObject.

subset

"miRNA" or "mRNA"

item

name of the miRNA or mRNA

time

name or number of the column in the pheno slot that contains the time.

event

name or number of the column in the pheno slot that contains the censoring (0=censored, 1=event).

Value

A plot with the Kaplan-Meier.

References

survival package: https://cran.r-project.org/web/packages/survival/index.html

See Also

addSurv

Examples

1
2
#data(data.obj)
#plotSurv(data.obj, "miRNA", item = ...)

mariavica/mircomb documentation built on Feb. 3, 2020, 2:28 a.m.