Last chance! 50% off unlimited learning
Sale ends in
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
"sort"(x, decreasing = FALSE, which = c("or", "p", "se", "name", "z"), na.last = TRUE, ...)
"unorder"(x, ...)
"unorder"(x, ...)
"order"(..., na.last = TRUE, decreasing = FALSE)
order
for more information.sort
returns a sorted uwmwRes object.
id
in the object. This slot is used
by other functions to give the requested values
is.unsorted
,
orderedBy
and getOrder
to check
on the ordered state of a uwmwRes
object.order
returns the order of the uwmwRes object.
unorder
returns a uwmwRes object with the order
removed.
data(NBmat)
NBtest <- uWMW(NBmat, groups=NBgroups)
NBsort <- sort(NBtest,which="name")
NBsort[1:10]
Run the code above in your browser using DataLab