Cox_PH: Fit CoxPH model to study association between...

Description Usage Arguments Value

View source: R/Survival.R

Description

Fit CoxPH model to study association between survival/recurrence outcome and estimated EQMi*

Usage

1
Cox_PH(clinical_dat, cov, EQMI_dat, degree = 1)

Arguments

clinical_dat

is a data.frame whose first column is "ID" denoting the subject IDs. The next two columns respectively correspond to the time (time to death or time to recurrence) and censoring indicator ( = 0 imples death or recurrence).

cov

is a data.frame whose first column is "ID" denoting the subject IDs. The other columns correspond to different covariates.

EQMI_dat

corresponds to the output of the function QMI_of_all_images. It is a matrix of estimated EQMI* of the sets of markers, (1, 2), (1, 2, 3), (1, 2, 3, 4), ..., and (1, 2, ..., p), where p is the number of available markers.

degree

corresponds to the degree of polynomial to use in the CoxPH model. If degree > 1, a non-linear relationship between the clinical outcomes and EQMI* is tested.

Value

It returns the p-values of the association tests between the clinical outcome and EQMI* of the different sets of markers.


sealx017/MIAMI documentation built on Feb. 11, 2022, 12:20 a.m.