**270**wrote:

Hi,

I have done survival analysis on a gene, using the coxph call and saved it in a variable `a`

. I know i can do summary(a) and get a return with the coef, exp(coef), se(coef) and power- p-value. I want to take JUST the p-value out of a to put into a a matrix.

So essentially is there a way of accessing just the p-value form a coxph object , e.g. coefVal <- a$coef gives me the coef value.. ?

Thanks, R

**85k**• written 7.7 years ago by moranr •

**270**