Description Usage Arguments Value
Function to be applied over gMat to get p-values from coxPH().
1 | coxphFn(x, xMat, midTime, midEvent, p)
|
x |
n*1 genotype vector. |
xMat |
n*p matrix of non-genotype covariates. |
midTime |
n*1 vector of event times imputed to be right-censored times using the midpoint imputation method. |
midEvent |
n*1 vector event indicators (0 for censoring, 1 for event) after times have been transformed to right-censored observations. |
p |
scalar, number of columns in xMat. |
A scalar p-value for testing the effect of the genotype in survreg() Weibull model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.