gx.importTable: Import a table from a text file

View source: R/geneXplain.R

gx.importTableR Documentation

Import a table from a text file

Description

This function imports a table into an existing platform folder.

Usage

gx.importTable(tableFile, platformFolder, tableName = "imported_table",
  processQuotes = TRUE, delim = "Tab", headerRow = 1, dataRow = 2,
  commentString = "", columnForID = "", addSuffix = FALSE,
  tableType = "", species = "Unspecified")

Arguments

tableFile

path to file with the table

platformFolder

folder into which the table is imported

tableName

name for the table within the platform

processQuotes

true to process quotation marks

delim

column delimiter, one of the strings (Tab, Spaces, Commas, Pipes)

headerRow

row index of the table header

dataRow

row index of the first data row

commentString

string to recognize comment lines

columnForID

name of column with ids

addSuffix

true to add suffix to ensure unique ids

tableType

type of platform table, e.g. Genes: Ensembl

species

Latin name of species

Value

a string containing the status of the request in JSON format


genexplain/geneXplainR documentation built on Oct. 24, 2023, 8:56 a.m.