read.tab {caroline}R Documentation

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 = "", 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.


[Package caroline version 0.9.2 Index]