JulienGAMartin / pedtricks

reboot of pedantics R package
https://juliengamartin.github.io/pedtricks/
Other
1 stars 0 forks source link

mean pedigree depth #17

Open joelpick opened 2 months ago

joelpick commented 2 months ago

At the moment, ped_stat just outputs max pedigree depth. This isn't super informative as to the general lineage length in the pedigree. It might be worth also outputting the mean. Using kinship2::kindepth works out the lineage length for each individual. I have code that works out maximum lineage length for each founder - not sure which would be more helpful to take a mean from