Sort: Sort a regressionResult or an interactionResult

Description Usage Arguments Value Sort a regressResult or an interactionResult class Author(s) See Also Examples

Description

Sort a regressionResult or an interactionResult based on p-value, fold-change, or F statistics

Usage

1
Sort(x, ...)

Arguments

x

a regressResult or an interactionResult class

...

any other arguments. See below...

Value

if sorting a regressResult, returned value is a data frame if sorting a interactionResult, returned value is a list of data frames

Sort a regressResult or an interactionResult class

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

Author(s)

Xiwei Wu, Arthur Li

See Also

regressResult interactionResult

Examples

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)

ArrayTools documentation built on Nov. 8, 2020, 8:13 p.m.