Sort {ArrayTools} | R Documentation |
Sort a regressionResult or an interactionResult based on p-value, fold-change, or F statistics
Sort(x, ...)
x |
a regressResult or an interactionResult class |
... |
any other arguments. See below... |
if sorting a regressResult, returned value is a data frame if sorting a interactionResult, returned value is a list of data frames
Sort(x, sorted.by = c("pValue", "log2Ratio", "F"), top=20)
x
is a regressResult class or an interactionResult class.
sorted.by
can be specified by using
"pValue" (p value), "log2Ratio" (log2 of fold-change value) or "F" (F statistics).
top
is used to specified number of genes being printed
Xiwei Wu, Arthur Li
regressResult
interactionResult
data(eSetExample) design<- new("designMatrix", target=pData(eSetExample), covariates = "Treatment") contrast<- new("contrastMatrix", design.matrix = design, compare1 = "Treated", compare2 = "Control") result<- regress(eSetExample, contrast) Sort(result)