KinshAposterior: Kinship matrix a posterior

Description Usage Arguments Details Value References See Also Examples

Description

Function computes the a posterior kinship matrix.

Usage

1
KinshAposterior(vec.prob, fam.id, sujet.id1, sujet.id2, data)

Arguments

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.

Details

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).

Value

Return a list contains the family kinship matrices.

References

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.

See Also

to See Also as kinshAprior

Examples

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)
    

CroteauCRIUSMQ/EMQLS.test documentation built on May 6, 2019, 12:52 p.m.