writePathways {fedup} | R Documentation

## Writes a set of pathways (list of vectors) to a GMT file.

### Description

Writes a set of pathways (list of vectors) to a GMT file.

### Usage

    writePathways(pathways, gmtFile)

### Arguments

`pathways` | (list) named list of vectors
`gmtFile` | (char) name of output GMT file

### Value

GMT-formatted file. Rows represent pathways. Columns represent:

- pathway ID;

- description;

- a list of tab-delimited genes

### Examples

    data(pathwaysXLSX)
    writePathways(pathwaysXLSX, tempfile("pathwaysXLSX", fileext = ".gmt"))

[Package fedup version 1.2.0 Index]