ancestor_vectors_cpp: Function to make a vector of all the ancestors of an...

Description Arguments

Description

This is a replacement for the R implementation of ancestor_vectors() which was too slow. This will get called from with a C function in which the pedigree has been assembled.

Arguments

sv

vector of sample indexes

nv

vector of names of all samples

Ped

pedigree struct

n

the number of generations. 0 = self, 1 = parent, 2 = grandparent, etc.


CKMRpop documentation built on July 17, 2021, 5:07 p.m.