check_ancestors {purgeR}R Documentation

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)

Arguments

id

Vector of individual ids.

ancestors

Vector of ancestor ids.

Value

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


[Package purgeR version 1.8.2 Index]