readSetFile: Read a collection of variables sets (*.txt)

Description Usage Arguments Value Examples

View source: R/loading_files.R

Description

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

Usage

1
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

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

BioNetStat documentation built on Feb. 3, 2021, 2:01 a.m.