Sort GSRI results

Share:

Description

Sort the results of an Gsri object.

Usage

1
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")

Author(s)

Julian Gehring

Maintainer: Julian Gehring <julian.gehring@fdm.uni-freiburg.de>

See Also

Package: GSRI-package

Class: Gsri

Methods: gsri getGsri getCdf getParms export sortGsri plot show summary readCls readGct

Examples

1
2
3
4
5
## Not run: 
sortGsri(object, c("pRegGenes", "nGenes"))
sortGsri(object, c(1, 5))

## End(Not run)