NumToID: Change Numeric Pedigree back to Character Pedigree

View source: R/PedToNum.R

NumToIDR Documentation

Change Numeric Pedigree back to Character Pedigree

Description

Reverse PedToNum, 1 column at a time.

Usage

NumToID(x, k = 0, gID = NULL, DumPrefix = c("F", "M"))

Arguments

x

vector with numbers.

k

1=dam, 2=sire, needed to distinguish dummy females from dummy males.

gID

vector with IDs of SNP-genotyped individuals; rownames of genotype matrix in the exact order.

DumPrefix

length-2 character vector to make dummy IDs; length-3 in case of hermaphrodites.

Value

A character vector with IDs.


sequoia documentation built on Sept. 8, 2023, 5:29 p.m.