Usage
topCategoryGenes(inputX, orderby = c("geneNum", "pvalue", "foldChange", "oddsRatio", "correctedPvalue"), top = 5, genesOrderBy = 1, decreasing = FALSE, topGenes = 5, file = FALSE, fileName = "topCategoryGenes.txt")
Arguments
inputX
a given GeneAnswers instance
orderby
type to sort enrichmentInfo slot
top
integer to specify how many top rows to be presented
genesOrderBy
integer or characters to specify gene ordered column.
decreasing
logic value to specify gene order is descending or not
topGenes
integer to speicify how many top genes to be presented
file
logic value to determine whether save to a file
fileName
string to specify file name, default file name is topCategoryGenes.txt