Read in a Tab Delimited File.

Share:

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

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

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.

header

boolean specifying if the first row serves as labels for the columns

...

other paramters passed to read.delim.

Value

a dataframe.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.