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

View source: R/loading_files.R

readSetFileR 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)

jardimViniciusC/BioNetStat documentation built on July 3, 2022, 3:32 a.m.