SelectV(data, grouping, Selmethod=c("ExtHC","HC","Fdr","fixedp"),
NullDist=c("locfdr","Theoretical"), uselocfdr=c("onlyHC","always"),
minlocfdrp=200,comvar=TRUE, alpha=0.1, alpha0=0.1, maxp=ncol(data),
tol=1E-12, ...)
The Fdr method is, by default, based on simple p-values derived from t-scores (problems with two groups) or ANOVA F-scores
(problems with more than two groups).
When the argument
The variable rankings are based on absolute-value t-scores or ANOVA F-scores.
Donoho, D. and Jin, J. (2004)
Donoho, D. and Jin, J. (2008)
Pedro Duarte Silva, A. (2011)
Efron, B. (2004)
RFlda, AlonDS# Compare the number of variables selected by the three methods
# currently available on Alon's Colon Cancer Data set.
# Use classical pvalues in the original HC approach
Res <- array(dim=3)
names(Res) <- c("ExtHC","HC","Fdr")
Res[1] <- SelectV(AlonDS[,-1],AlonDS[,1])$nvkpt
Res[2] <- SelectV(AlonDS[,-1],AlonDS[,1],
Selmethod="HC",NullDist="Theoretical")$nvkpt
Res[3] <- SelectV(AlonDS[,-1],AlonDS[,1],Selmethod="Fdr")$nvkpt
print(Res)Run the code above in your browser using DataLab