Usage
read.linkdat(file, header = FALSE, simcol = NA, missing=0,
model=NULL, ...)
write.linkdat(x, file="", col.names=FALSE, famid=TRUE)
Arguments
file
the name of the file containing the pedigree. See Details for format information.
header
a logical value indicating whether the file contains column names. If TRUE, the names of columns 1-5 (or 2-6 if famid=TRUE) must be ID, FID, MID, SEX and AFF in this order.
famid
a logical value indicating whether the first column of the output file should be a family id, consisting of all 1's. (This makes the
file of classical LINKAGE format, hence compatible with other linkage software.) If header=TRUE
the column
simcol
an integer indicating the column (if present) containing simulation statuses. Not necessary if header=TRUE
and the header of the
simulation column is SIM.
missing
a numeric or character of length 1 indicating the code for missing marker alleles.
model
optional: the linkage model to be passed onto setModel
(see this for details). col.names
a logical value indicating if column names should be included in the file.
...
further arguments to be passed to read.table.