Learn R Programming

MineICA (version 1.12.0)

writeRnkFiles: Write rnk files containing gene projections

Description

Writes the gene projection values of each component in a '.rnk' file for GSEA.

Usage

writeRnkFiles(icaSet, abs = TRUE, path)

Arguments

icaSet
An object of class IcaSet
abs
If TRUE (default) the absolute projection values are used.
path
The path that will contain the rnk files.

Value

NULL

Details

The .rnk format requires two columns, the first containing the gene IDs, the second containing the projection values. The genes are ordered by projection values. The files are named "index-of-component_abs.rnk" if abs=TRUE, or "index-of-component.rnk" if abs=FALSE.