reorder.gct: Function to reorder the rows of a GCT object

Description Usage Arguments Author(s) See Also

View source: R/reorder.gct.R

Description

take the data in a gct file & reorder the rows by different criteria:
- var: sort by variance, from high to low
- mean: sort by average abundance, from high to low
- median: sort by median abundance, from high to low
- max: sort by max abundance, from high to low
- sum: sort by sum, from high to low (useful if the GCT is an adjacency matrix/matrix of counts, or scores)

Usage

1
2
3
## S3 method for class 'gct'
reorder(gct, method = c("var", "mean", "median", "max", "sum"),
  reverse = FALSE)

Arguments

gct

a gct object

method

see details. Default = 'var'

reverse

if TRUE, then reverse the default sort order (see details for default sort order)

Author(s)

Mark Cowley, 2011-03-16

See Also

reorder.gct.file


drmjc/metaGSEA documentation built on Aug. 8, 2020, 1:53 p.m.