Description Usage Arguments Value Author(s) See Also Examples

A function that performs Cox regression with bindings for `surt`

,
`cens`

, and `p`

is returned. This function filters genes
according to the attained p-value from a Cox regression using
`surt`

as the survival times, and `cens`

as the censoring
indicator. It requires `survival`

.

1 | ```
coxfilter(surt, cens, p)
``` |

`surt` |
Survival times. |

`cens` |
Censoring indicator. |

`p` |
The p-value to use in filtering. |

Calls to the `coxph`

function in the `survival`

library are used to fit a Cox model. The filter function returns
`TRUE`

if the p-value in the fit is less than `p`

.

R. Gentleman

1 2 3 4 5 |

genefilter documentation built on Oct. 31, 2019, 3:15 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.