Learn R Programming

purgeR (version 1.8.2)

check_ancestors: Check ancestor individuals

Description

Takes a column name, and checks its use as target. It should name a boolean vector (or coercible to it), with at least one TRUE value.

Usage

check_ancestors(id, ancestors)

Value

No return value. Will print an error message if checking fail.

Arguments

id

Vector of individual ids.

ancestors

Vector of ancestor ids.