Learn R Programming

sequoia (version 2.3.5)

getGDO: get individual category: genotyped, dummy, observed

Description

get individual category: genotyped, dummy, observed

Usage

getGDO(id, gID = NULL, DumPrefix = c("F0", "M0"))

Arguments

id

character vector with ids, may include NA (as in parent columns in pedigree)

gID

character vector with ids of genotyped individuals

DumPrefix

prefix that defines dummy individuals

Value

a factor with length equal to id, and levels Genotyped, Dummy, Observed, None

Details

In contrast to GetDummifiable, this function only identifies individuals who currently have a dummy code.