Description Usage Arguments Details Value Author(s) See Also Examples

`ttest`

returns a function of one argument with bindings for
`cov`

and `p`

.
The function, when evaluated, performs a t-test using `cov`

as
the covariate. It returns `TRUE`

if the p value for a difference
in means is less than `p`

.

1 |

`m` |
If |

`p` |
The p-value for the test. |

`na.rm` |
If set to |

When the data can be split into two groups (diseased and normal for example) then we often want to select genes on their ability to distinguish those two groups. The t-test is well suited to this and can be used as a filter function.

This helper function creates a t-test (function) for the specified
covariate and considers a gene to have passed the filter if the
p-value for the gene is less than the prespecified `p`

.

`ttest`

returns a function with bindings for `m`

and
`p`

that will perform a t-test.

R. Gentleman

1 2 3 4 5 6 7 8 9 10 11 12 |

genefilter documentation built on Jan. 23, 2021, 2:01 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.