Reverse PedToNum
, 1 column at a time.
NumToID(x, k = 0, gID = NULL, DumPrefix = c("F", "M"))
A character vector with IDs.
vector with numbers.
1=dam, 2=sire, needed to distinguish dummy females from dummy males.
vector with IDs of SNP-genotyped individuals; rownames of genotype matrix in the exact order.
length-2 character vector to make dummy IDs; length-3 in case of hermaphrodites.