Learn R Programming

caroline (version 0.7.2)

read.tab: Read in a Tab Delimited File.

Description

This function is a slight (genome annotation friendly) variant of the built-in read.delim function in R. Two non-standard defaults have been set: stringsAsFactors=TRUE, quote="". An additional parameter "check.row.ct", triggering a count.fields call, has been added to further ensure the integrity of large data files.

Usage

read.tab(file, check.row.ct = TRUE, stringsAsFactors = FALSE, quote = "", ...)

Arguments

file
the name of the file which the data are to be read from.
check.row.ct
logical: use 'count.fields' to independently verify the number of rows read.table reads into memory?
stringsAsFactors
logical: should character vectors be converted to factors?.
quote
the set of quoting characters.
...
other paramters passed to read.delim.

Value

  • a dataframe.