readDatfile: User-friendly wrapper for read.table

View source: R/fitPolyTools.R

readDatfileR Documentation

User-friendly wrapper for read.table

Description

A wrapper for read.table that has default parameter values for reading tab-separated files as used in packages fitPoly and fitPolyTools

Usage

readDatfile(file, header=TRUE, sep="\t", check.names=FALSE, ...)

Arguments

file

the name of the file which the data are to be read from

header

a logical value indicating whether the file contains the names of the data.frame columns as its first line

sep

the field separator character

check.names

logical. If FALSE (default), column names are not checked. This is important if column names are the names of samples, markers etc that may not be syntactically valid variable names.
If TRUE then the names of the variables in the data frame are checked to ensure that they are syntactically valid variable names. If necessary they are adjusted (by make.names) so that they are, and also to ensure that there are no duplicates

...

Further arguments to be passed to read.table

Value

A data.frame containing a representation of the data in the file


fitPoly documentation built on April 3, 2025, 8:58 p.m.