Usage
read.seqz(file, nrows = -1, fast = FALSE, gz = TRUE, header = TRUE,
colClasses = c("character", "integer", "character", "integer",
"integer", "numeric", "numeric", "numeric", "character",
"numeric", "numeric", "character", "character", "character"),
chr.name = NULL, n.lines = NULL, ...)read.acgt(file, colClasses = c("character", "integer", "character", "integer",
"integer", "integer", "integer", "integer", "character"), ...)
Arguments
nrows
number of rows to read from the file. Default is -1 (all rows).
fast
logical. If TRUE the file will be pre-parsed to count the number of rows; on some systems this can speed up the file reading.
gz
logical. If TRUE (the default) the function expects a gzipped file.
header
logical, indicating whether the file contains the names of the variables as its first line.
colClasses
character. A vector of classes to be assumed for the columns. By default the acgt and seqz format is expected.
chr.name
if specified, only the selected chromosome will be extracted instead of the entire file.
n.lines
vector of length 2 specifying the first and last line to read from the file. If specified, only the selected portion of the file will be used. Requires the sed UNIX utility.
...
any arguments accepted by read.delim. For read.acgt, also any arguments accepted by read.seqz.