read_file: Read data with genes and gene set labels to a data frame

Description Usage Arguments Value

View source: R/get_data.R

Description

read_file reads a file given a path, column names and a field delimiter. For the file to be processed correctly ensure that the gene identifiers are in the first columns and the set labels are in the second column in the file.

Usage

1
read_file(path, col_names, delim)

Arguments

path

Character string specifying the path to file.

col_names

A logical value indicating whether the file contains column names in the first line.

delim

Character string indicating the field separator character.

Value

Data frame with two columns, where the first column is id (gene identifiers) and the second column is set_label (gene set labels).


vitalinakomashko/parallelGO documentation built on May 18, 2019, 1:32 p.m.