writeRnkFiles: Write rnk files containing gene projections

View source: R/functions.R

writeRnkFilesR Documentation

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.

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.

Value

NULL

Author(s)

Anne


bitona/MineICA documentation built on April 23, 2023, 1:41 p.m.