Learn R Programming

gCMAPWeb (version 1.12.0)

parse_file_input: Uploaded file parser

Description

This functions parses the user-uploaded files

Usage

parse_file_input(temp.file, regexp = "[+,;\t ]+", n.score.col = 1)

Arguments

temp.file
character, path to temporary file (usually part of the POST request)
regexp
character, a regular expression matching all separators used to separate gene identifiers
n.score.col
integer, for profile uploads n.score.col specifies the number of data columns (usually 1)

Value

list of character vectors, one element for each row of temp.file