Description Usage Arguments Details Value Examples
This function serves to wrap the survival coxph function for easier usage in
evaluating many cox models simultaneously. This function is accessed by
cox.arry()
in order to parallelize the univariate comparisons of every
protein against the outcome.
1 2 3 4 5 6 7 8 |
.data |
The data tibble containing the variables to be regressed. |
time |
A character vector of the outcome variable time to event |
outcome |
A character vector of the outcome variable event indicator |
protein |
A character vector indicating which protein is being regressed. |
.adjust |
A vector of all adjustment variables for this model. |
extend |
Number of asterisks to add to Pvalue table indicator. |
This function returns the effect estimate for the "protein" of interest
adjusted. The function also creates a string descriptor to print output as
table for .csv
files. The significance of the p value is indicated by
each marker denoting a power of ten smaller.
A list with three components:
The Hazard Ratio of the Protein
A Vector of length 2 with Lower and Upper Confidence Interval
The P value of the model covariate
A string that combines the relevant information (such as hazard ratio and confidence interval) needed to display in a table.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.