\name{genotypeCoding} \alias{genotypeCoding} \alias{genotypeCoding.default} %- Also NEED an '\alias' for EACH other topic documented here. \title{ Get genotype coding } \description{ Get genotype coding. } \usage{ genotypeCoding(geneSetObj, method = "A") genotypeCoding.default(pedObj, method = "A") } %- maybe also 'usage' for other objects documented here. \arguments{ \item{geneSetObj}{ a geneSet object} \item{pedObj}{a pedigreee object} \item{method}{genotype coding method. The default is additive coding (\code{A}). The other two available coding methods are recessive coding (\code{R}) and dominant coding (\code{D}), respectively.} } \details{ } \value{ a matrix with \code{nSubjects} rows and \code{nMarkers} columns. Each column contains coded genotype. } \references{ } \author{ Gregory Warnes Ross Lazarus Weiliang Qiu } \note{} \seealso{ } \examples{ data(CAMP) res<-genotypeCoding(CAMP, method="A") print(res[1:10,]) } % Add one or more standard keywords, see file 'KEYWORDS' in the % R documentation directory. \keyword{ misc }