surv.plot: Draw survival curve

Description Usage Arguments Value Examples

View source: R/surv.plot.R

Description

It is used to draw the survival curve of ternary relationship pairs and to support the survival prognosis of training sets and test sets.

Usage

1
surv.plot(ceRNA, exp.sur, train = NULL, test = NULL, index)

Arguments

ceRNA

a dataframe that the ceRNA relationship is the data, and the prediction result data obtained according to the ceRNA prediction algorithm.Such as ceRNA.cmi prediction result file.

exp.sur

dataframe specifying expression and survival information.Its rownames are sample names.Its colnames are names in triplets and survival information (see example data in details).

train

a character string vector specifying train sample names.

test

a character string vector specifying test sample names.

index

a numeric vector (default 1) reprsenting rowindex of triplets analyed.

Value

Survival curve of user-selected ceRNA ternary pairs.

Examples

1
2
3
4
5
6
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
surv.plot(ceRNA=dataset[["Pre.ceRNA"]],exp.sur=dataset[["exp.sur"]],train=NULL,test=NULL,index=5)

CeRNASeek documentation built on April 29, 2020, 9:37 a.m.