Function to transform arbitrary name IDs to row numbers for the sake of pedigreeToCCmatrix

convertNamesToRows(nameMat)

Arguments

nameMat

The pedigree matrix with character IDs

Value

Matrix suitable for pedigreeToCCmatrix

Details

Keeps everything in order

Examples