gen.phiOver: Kinship above threshold

View source: R/fonctionsBase.R

gen.phiOverR Documentation

Kinship above threshold

Description

Returns the pairs of individuals with kinship coefficient values greater than specified threshold.

Usage

gen.phiOver( phiMatrix, threshold)

Arguments

phiMatrix

A square matrix of kinship coefficients obtained for example with gen.phi. Required.

threshold

Threshold of kinship values to return.

Value

A data frame containing the probands and their kinship.

See Also

gen.genealogy gen.phi gen.phiMean gen.phiCI

Examples

data(geneaJi) 
genJi<-gen.genealogy(geneaJi) 
kinship<-gen.phi(genJi)
gen.phiOver(kinship, 0.1)


data(genea140) 
gen140<-gen.genealogy(genea140) 
phi9subj<-gen.phi(gen140,pro=c(408758,408950,409082,409111,676521,717537,717634,717709,868572))
gen.phiOver(phi9subj,0.025)


GENLIB documentation built on Jan. 17, 2023, 5:16 p.m.

Related to gen.phiOver in GENLIB...