Description Usage Arguments Details Value References See Also Examples
Function computes the a posterior kinship matrix.
1 | KinshAposterior(vec.prob, fam.id, sujet.id1, sujet.id2, data)
|
vec.prob |
Vector of the probability names in the database |
fam.id |
The family identifying |
sujet.id1 |
The variable name of the first individual |
sujet.id2 |
The variable name of the second individual |
data |
Data frame of the database. |
The function computes the a posterior kinship matrices according to the probabilities of identity by descent (IBD). For details, see T.Thornton et al., (2007).
Return a list contains the family kinship matrices.
Thornton T and McPeek MS: Case-control association testing with related individuals: a more powerful quasi-likelihood score test. Am J Hum Genet 2007, 81:321, 337.
to See Also as kinshAprior
1 2 3 4 5 6 7 | data(DataIBD)
vec.prob=c("P0","P1","P2")
fam.id="FAMILY"
sujet.id1="ID1"
sujet.id2="ID2"
lst_mkinshp1=KinshAposterior(vec.prob,fam.id,sujet.id1,sujet.id2,DataIBD)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.