Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

NumToID

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

Pedigree Inference from SNPs

v2.3.3
GPL-2
Authors
Jisca Huisman [aut, cre]
Initial release
2021-04-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.