Numerator relationship matrices may be exported to a text file in ``ijk format'',
where each line is of the form ``animal_A animal_B rAB'' using the pyp_io.save_ijk() function. Diagonal entries are , where is the animal's coefficient of inbreedin.
example = pyp_newclasses.loadPedigree(options)
# Save the NRM to a file in ijk format.
# Don't forget to set the filename.
pyp_io.save_ijk(example,'nrm_ijk.txt')
Suppose that the example above produces the following file:
In order to get for animal 4627 you need to find the corresponding diagonal element and subtract 1 from it:
The coefficient of relationship between 4627 and 5538 is (4627 is probably a parent of 5538). Note that the file nrm_ijk.txt will include only the diagonal and upper off-diagonal elements of the NRM, and should have
lines.
A Manual for use of PyPedal
A software package for pedigree analysis