geneAnswersSort: Sort enrichmentInfo of a GeneAnswers instance

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

a function to sort enrichmentInfo data frame in GeneAnswers objects.

Usage

1
geneAnswersSort(x, sortBy = c("geneNum", "pvalue", "foldChange", "oddsRatio", "correctedPvalue"))

Arguments

x

a GeneAnswers instance

sortBy

sorted type

Details

sortBy could be one of "geneNum", "pvalue", "foldChange", "oddsRatio" and "correctedPvalue".

Value

return a new GeneAnswers instance with sorted by the specified type.

Author(s)

Gang Feng, Pan Du and Simon Lin

References

Feng, G., Du, P., Krett, N., Tessel, M., Rosen, S., Kibbe, W.A. and Lin, S.M., 'A collection of bioconductor methods to visualize gene-list annotations', BMC Research Notes 2010, 3:10

See Also

GeneAnswers-class

Examples

1
2
example(GeneAnswers)
xx <- geneAnswersSort(x, sortBy='correctedPvalue')


Search within the GeneAnswers package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.