This function will look through a pedigree data.frame and recursively continue building that back through the history of the SHAPE run being processed.
findParent(func_focalGenotype, func_startStep, func_stepMatrix,
func_progenitorList, func_demoArray, func_pedigreeAll,
func_lineString = getOption("shape_string_lineDescent"))
a vector of genotype IDs whose lineage you wish to identify.
this is the first step in the SHAPE run from which you wish to consider re-tracing the lineage.
this is the matrix that represent what happened at each step in the SHAPE run.
this is a list of the known progenitor(s) for our func_focalGenotypes
this is the whole array of step-wise SHAPE records for population demographics and feeds func_stepMatrix.
this is a data.frame which contains all currently known pedigree information and informs our step-wise focus.
this is the string that will be used to collapse the vector of progenitor genotype's into a single charater string. This collapse is done as a convenience for storage and retrieval.
a vector of character strings, each of which is the found lineage of the func_focalGenotypes