build.coxregression.model: Build cox regression model

View source: R/Biomarker.R

build.coxregression.modelR Documentation

Build cox regression model

Description

Build cox regression model

Usage

build.coxregression.model(d.frame, status, time, seed = 666, scale = TRUE)

Arguments

d.frame

Data.frame — Row: sample, Column: gene expression

time

OS, DFS, RFS et al.....

seed

Default 666

scale

Examples

# psm (parametric survival model) uses a survival model based on functions and their parameters.
# cph (Cox Proportional Hazards Model and Extensions) is using the cox model (and the Anderson-Gill model) which is based on the hazard functions.

data(LIRI)
res = loonR::build.coxregression.model(LIRI[,3:5],LIRI$status, LIRI$time)

ProfessionalFarmer/loonR documentation built on Oct. 9, 2024, 9:56 p.m.