read-functions: Import of '.cls' and '.gct' files

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Import the groups from ‘.cls’ files and the expression data from ‘.gct’ files.

Usage

1
2

Arguments

file

Character vector specifying the path of the file to be read in.

...

Optinal arguments, currently not used.

Details

With these methods the expression data and the assignment of the samples to groups can be read from ‘.cls’ (categorical class) and ‘.gct’ (gene cluster text) files, respectively. Details on the specific formats can be found at http://www.broadinstitute.org/cancer/software/gsea/wiki/index.php/Data_formats.

Please note that the readCls method reads only categorical class labels, not continuous ones.

Value

For a ‘.cls’ file, a factor containing the groups.

For a ‘.gct’ file, a matrix containing the expression intensities, with rows corresponding to genes and columns to samples.

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
6
## Not run: 
exprs <- readGct(file)

groups <- readCls(file)

## End(Not run)

GSRI documentation built on Nov. 8, 2020, 7:46 p.m.