Displaying 1 result from an estimated 1 matches for "filterfun".
Did you mean:
filterfds
2003 Jun 04
3
Slow ttests in R-devel
...urrent R-patched - one example is below
using a ttest. I have the following snippet of code that demonstrates the
problem while avoiding "real" code that takes an extremely long time to
finish on R-devel:
library(genefilter)
data(eset)
eset$cov1
z <- ttest(eset$cov1, p=0.01)
gf <- filterfun(z)
system.time(genefilter(eset, gf))
(this requires the genefilter & Biobase packages from Bioconductor)
Using R-1.7.0p I had the following output:
> data(eset)
> eset$cov1
[1] 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2
> z <- ttest(eset$cov1, p=0.01)
> gf <- filte...