Learn R Programming

sequoia (version 2.11.1)

Vcomp: Compare two vectors

Description

Compare a vector with inferred sibs to a vector of `true' sibs

Usage

Vcomp(Infrd, Simld, SNPd)

Value

a named numeric vector of length 4, with the total length of Simld, the length of the intersect of the two vectors, the number occurring in Infrd but not Simld ('err'), and the number occuring in Simld but not Infrd ('missed').

Arguments

Infrd

vector of inferred sibs

Simld

vector of true sibs

SNPd

character vector with IDs of genotyped individuals