Learn R Programming

GSRI (version 2.20.0)

sortGsri: Sort GSRI results

Description

Sort the results of an Gsri object.

Usage

sortGsri(x, names, decreasing=TRUE, na.last=NA, ...)

Arguments

x
Object of class Gsri whose results to sort.
names
Columns along which the results of x should be sorted, eighter a character vector with the names of the columns or an integer vector with the index of the columns. If the vector has several elements, sorting is performed along all of them, starting with the first and using subsequent ones to break existing ties. If names is not specified the results are sorted according to pRegGenes.
decreasing
Logical indicating whether the sorting should be in decreasing (default) or ascending order, see sort.
na.last
How NA values in the results should be treated, see sort.
...
Additional arguments, currently not used.

Value

An object of class Gsri, with sorted slots result and cdf.

Methods

signature(x="Gsri", names="ANY")

See Also

Package: GSRI-package Class: Gsri Methods: gsri getGsri getCdf getParms export sortGsri plot show summary readCls readGct

Examples

Run this code
## Not run: 
# sortGsri(object, c("pRegGenes", "nGenes"))
# sortGsri(object, c(1, 5))
# ## End(Not run)

Run the code above in your browser using DataLab