\HeaderA{read.phe}{Read '.phe' phenotype file data}{read.phe}
\aliasA{read.fbat.phe}{read.phe}{read.fbat.phe}
\aliasA{read.pbat.phe}{read.phe}{read.pbat.phe}
\keyword{misc}{read.phe}
\begin{Description}\relax
Read '.phe' phenotype file data
\end{Description}
\begin{Usage}
\begin{verbatim}
read.phe(filename, columns = c("family", "pid"), quiet = FALSE, ...)
read.fbat.phe(filename, columns = c("family", "pid"), quiet = FALSE, ...)
read.pbat.phe(filename, columns = c("family", "pid"), quiet = FALSE, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{filename}] Name of the file
\item[\code{columns}] Column names for the first two columns of a pedigree
file. Defaults to "family" and "pid", where "family" is a unique
identifier for each family, and "pid" is a unique identifier for
each individual.

\item[\code{quiet}] Logical indicating whether progress display is
suppressed, Defaults to \code{TRUE}.
\item[\code{...}] Additional (optional) parameters provided to function
matrix
\end{ldescription}
\end{Arguments}
\begin{Value}
A data frame containing the file
\end{Value}
\begin{Author}\relax
Gregory R. Warnes \email{warnes@bst.rochester.edu} and
Nitin Jain \email{nitin.jain@pfizer.com}
\end{Author}
\begin{Examples}
\begin{ExampleCode}
# store where we are now
here <- getwd()

# move to the data directory
dir <- file.path(.path.package("GeneticsBase"),"data")
setwd(dir)

# load hapmap chromosome 1 data
xbat <- readGenes(gfile="xbat.ped", gformat="fbat.ped",
                  pfile="xbat.phe", pformat="fbat.phe")

# look at the data
xbat

# return to the original path
setwd(here)
\end{ExampleCode}
\end{Examples}

