| SetModels {FEST} | R Documentation |
Specify true and alternative family relations.
SetModels(trueModels, altModels = c("true", "unrelated"))
trueModels |
a character array of the true family relations. See details. |
altModels |
a character array of alternative hypothised family relations. See details. |
The true and alternative pairwise family relations are among the following:
HS-k-l:HS-k:S-k-l:S-k:PC-k:unrelated:
In addition altModels may also contain the following
specifications:
true:trueModelsupper:trueModelslower:trueModelsThe available family relations are constrained by default setting in merling for maximal allowed pedigree complexity allowed by merlin http://www.sph.umich.edu/csg/abecasis/Merlin/index.html. For the moment we allow HS-k-l and S-k-l where k+l<= 25, and PC-k where k <= 25.
An object of class Model.
Øivind Skare oivind.skare@medisin.uio.no
## Example 1
modelList <- paste("HS-", 1:5, sep="")
models <- SetModels(trueModels=modelList, altModels=c(modelList, "unrelated"))
## Example 2
models <- SetModels(trueModels=paste("HS-", 1:6, sep=""),
altModels=c("true", "unrelated"))