Function to calculate a relationship matrix from marker data (usually allele count data), G matrix.
Useful links