p-value cutoff for considering significant a Gene Set.
pvalue
p-value column to be used.
Default is named "padj" as in uvGsa output.
statistic
name of the column containing the log odds ratio
from the uvGsa analysis.
verbose
verbose
sort
if TRUE the output data.frame is ordered according to
significance.
Value
The input data.frame but keeping just the 'significant' and
'non redundant' GO terms.
Details
Uses the library GO.db to find the 'ancestors' of each GO term.
Those ancestors are discarded form the uvGsa results.
Alternatively, the function may also take a character vector of GO ids
in the gsaout parameter.
In such case the function returns also a character vector of GO ids,
containing just the GO terms being "leaves" of the original set.