surv.plot {CeRNASeek} | R Documentation |
It is used to draw the survival curve of ternary relationship pairs and to support the survival prognosis of training sets and test sets.
surv.plot(ceRNA, exp.sur, train = NULL, test = NULL, index)
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. |
Survival curve of user-selected ceRNA ternary pairs.
##---- 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)