CPM_cox: This function ultilizes cox regression to build a clinical...

Usage Arguments Examples

View source: R/CPM_cox.r

Usage

1
CPM_cox(selected_features)

Arguments

selected_features

The column index of features input to the CPM.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Set output Rdata file.
output_path = "./output.rda"
## The function will relocate the label to the first column.
preprocess("classification", iris, c(5))
[1] "1 :  Species"
[1] "2 :  Sepal.Length"
[1] "3 :  Sepal.Width"
[1] "4 :  Petal.Length"
[1] "5 :  Petal.Width"

CPM_cox(c(3,4,5))

Cheng-Lab-GitHub/BioApp documentation built on Oct. 30, 2019, 5:40 a.m.