readSetFile {BioNetStat} | R Documentation

## Read a collection of variables sets (*.txt)

### Description

'readSetFile' reads a tab-delimited text file containing a collection of gene sets.

### Usage

    readSetFile(fileName)

### Arguments

`fileName` | a string containing the file name

### Value

a list of gene sets. Each element of the list is a character vector v, where v[1] contains the gene set name, v[2] descriptions about the set, v[3..length(v)] the genes that belong to the set.

### Examples

    # Read example set file
    set_fname <- system.file("extdata", "variableSet_BioNetStat_tutorial_data.gmt", package = "BioNetStat")
    deneSets <- readSetFile(set_fname)

[Package BioNetStat version 1.12.0 Index]