Description Usage Arguments Value Sort a regressResult or an interactionResult class Author(s) See Also Examples
Sort a regressionResult or an interactionResult based on p-value, fold-change, or F statistics
1 |
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
1 2 3 4 5 6 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.