Learn R Programming

GSRI (version 2.20.0)

read-functions: Import of ‘.cls’ and ‘.gct’ files

Description

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

Usage

readCls(file, ...) readGct(file, ...)

Arguments

file
Character vector specifying the path of the file to be read in.
...
Optinal arguments, currently not used.

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.

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.

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

Run the code above in your browser using DataLab