sort.uwmwRes: Sort and order method for uWMWRes objects
Description
This functions provide sorting functionality for
uwmwRes objects. It allows to sort the values
in the object in order to get the genes with the highest
OR, lowest p value, ... The function uses
order underneath
a logical value indicating whether
values should be sorted in increasing or decreasing
order.
which
a character value indicating on which values
should be used to sort on. The possible values are: "or"
for sorting on the odds ratio, "p" for sorting on the p
value, "se" for sorting on the standard error or "name"
for sorting on the gene names.
na.last
a logical value indicating whether NA
results should be sorted at the end. See
order for more information.
...
currently ignored
Value
sort returns a sorted uwmwRes object.
Details
The function does not change the internal order, but
changes the slot id in the object. This slot is used
by other functions to give the requested values