When CalcParentProbs() is run on a pedigree with only dams or only sires, it gives an error with 'arguments imply differing number of rows: 0,1'.
This is a bug in version 3.2.0, and likely also in 3.1 and 3.0, that will be fixed in the next version (not scheduled for anytime soon).
A workaround until then is to use CalcPairLL() with as Pairs dataframe the id's and single non-empty parent column, and then run LLtoProb() on the resulting likelihoods. See ?LLtoProb for example code.
When CalcParentProbs() is run on a pedigree with only dams or only sires, it gives an error with 'arguments imply differing number of rows: 0,1'.
This is a bug in version 3.2.0, and likely also in 3.1 and 3.0, that will be fixed in the next version (not scheduled for anytime soon).
A workaround until then is to use CalcPairLL() with as Pairs dataframe the id's and single non-empty parent column, and then run LLtoProb() on the resulting likelihoods. See ?LLtoProb for example code.