This function will look through a pedigree data.frame and recursively continue building that back through the history of the SHAPE run being processed.
Useful links