Skip to contents

The cox analysis about the metabolites

Usage

MetCox(dat)

Arguments

dat

A dataframe-like data object containing log-metabolite intensity values, with rows corresponding to samples, and the columns corresponding to the metablites and must containing time and status

Value

result

Examples

result <- MetCox(dat_surv)
result
#> # A tibble: 116 × 5
#>    name   beta     `HR (95% CI for HR)` wald.test p.value
#>    <chr>  <chr>    <chr>                <chr>     <chr>  
#>  1 C03819 1.2e-06  1 (1-1)              0.31      0.58   
#>  2 C02918 4.8e-07  1 (1-1)              0.1       0.75   
#>  3 C03916 -1.7e-07 1 (1-1)              0.11      0.74   
#>  4 C04102 -3.1e-08 1 (1-1)              0.07      0.79   
#>  5 C01885 6.3e-07  1 (1-1)              0.12      0.73   
#>  6 C07326 -5.1e-06 1 (1-1)              0.22      0.64   
#>  7 C00307 7e-08    1 (1-1)              0.12      0.73   
#>  8 C04555 -3.1e-06 1 (1-1)              1.1       0.3    
#>  9 C01181 3.2e-07  1 (1-1)              1.6       0.2    
#> 10 C03242 2.2e-09  1 (1-1)              0.01      0.93   
#> # ℹ 106 more rows