iES_survPlot: iES survival for a certain pathway

Description Usage Arguments Value Examples

View source: R/iES_plots.R

Description

This function allows you to express your love of cats.

Usage

1
iES_survPlot(iES_mat, cli, gs_str, indVec = NULL, npatsThre = 5, title = TRUE)

Arguments

iES_mat, gs_str

is the GSDB iES_mat with tumor and normal and gs name.

cli

clinical data corresponding to the expression data.

indVec

the binary indicator for normal(0) and tumor (1) patients.

npatsThre

the threshold of number of patients for survival analysis.

title

boolean true or false for including the title (gs_str) in the ggplot.

Value

ggplot object containing the KM plot.

Examples

1
2
3
4
data(PRAD_data)
data(GSDB_example)
iES_mat = iES_cal2(prad_exprs, GSDB = GSDB_example)
iES_survPlot(iES_mat, cli = prad_cli, gs_str = "SimPathway1", indVec = prad_inds)

suke18/iPath documentation built on July 23, 2021, 1:08 p.m.