ExpressionPhenoTest(x, vars2test, adjustVars,
p.adjust.method='BH',continuousCategories=3,mc.cores,approach='frequentist')exprs(x)
and phenotype information in pData(x).colnames(pData(x)).p.adjust. Valid values are c("holm", "hochberg", "hommel",
"bonferroni", "BH", "BY", "fdr", "none").epheno object, which basically extends an
ExpressionSet object. The means, fold changes, standarized hazard
ratios and pvalues are stored in the experimentData slot which is
accessible with the exprs method. Information about the kind of
information of each variable can be found in the phenoData slot
which is accessible with the pData method.There are several methods that can be used to access the information
stored in an epheno object. For more information please type one
of the following: getFc(x), getHr(x), getMeans(x), getSignif,
getPvals(x), getPostProbs, getSummaryDif(x), logFcHr(x),
p.adjust.method(x), phenoClass(x), phenoNames(x).
If approach is bayesian posterior probabilities are computed comparing the BIC of a model with the variable of interest as explanatory variable against the BIC of the same model without the variable of interest as explanatory variable.
#load eset
data(eset)
eset
#prepare vars2test
survival <- matrix(c("Relapse","Months2Relapse"),ncol=2,byrow=TRUE)
colnames(survival) <- c('event','time')
vars2test <- list(survival=survival)
#run ExpressionPhenoTest
epheno <- ExpressionPhenoTest(eset,vars2test,p.adjust.method='none')
epheno
Run the code above in your browser using DataLab