Vcomp: Compare two vectors

View source: R/ComparePeds.R

VcompR Documentation

Compare two vectors

Description

Compare a vector with inferred sibs to a vector of ‘true’ sibs

Usage

Vcomp(Infrd, Simld, SNPd)

Arguments

Infrd

vector of inferred sibs

Simld

vector of true sibs

SNPd

character vector with IDs of genotyped individuals

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


sequoia documentation built on July 4, 2024, 1:10 a.m.