This function finds the originating member for each line in a pedigree. It is supposed to be used internally by the summarize_pedigree function.
summarize_pedigree
Useful links