geneAnswersSort {GeneAnswers} | R Documentation |
a function to sort enrichmentInfo data frame in GeneAnswers objects.
geneAnswersSort(x, sortBy = c("geneNum", "pvalue", "foldChange", "oddsRatio", "correctedPvalue"))
x |
a GeneAnswers instance |
sortBy |
sorted type |
sortBy could be one of "geneNum", "pvalue", "foldChange", "oddsRatio" and "correctedPvalue".
return a new GeneAnswers instance with sorted by the specified type.
Gang Feng, Pan Du and Simon Lin
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
example(GeneAnswers) xx <- geneAnswersSort(x, sortBy='correctedPvalue')