Usage
readPhen(phen.file, sep.phen = ",", ped.file, sep.ped = ",", header = TRUE, stringsAsFactors = FALSE, id.unique = TRUE, sex.optional)
Arguments
phen.file
A character, path to phen file.
sep.phen
A character, the field separator in phen file.
The default value is ","
.
ped.file
(optional) A character, path to ped file.
sep.ped
A character, the field separator in ped file.
The default value is ","
.
header
Logical, indicating whether the file contains
the names of the variables as its first line.
The default value is TRUE.
stringsAsFactors
logical, indicating whether character vectors to be converted to factors.
The default value is FALSE.
id.unique
logical, indicating whether the IDs of individuals must be unique.
The default value is TRUE.
sex.optional
logical, indicating whether the SEX field must be presented.
The default value is TRUE if ped.file
is specified,
and it is FALSE otherwise.