Align a pedigree to print well

DESCRIPTION:

A pedigree structure can contain a hints matrix which helps to reorder the pedigree (e.g. left-to-right order of children within family) so as to plot with minimal distortion. This routine is called by the pedigree function to create an initial hints matrix.

USAGE:

autohint(ped)

REQUIRED ARGUMENTS:

ped
a pedigree structure

VALUE:

a two column hints matrix

DETAILS:

This routine would not normally be called by a user. It moves children within families, so that marriages are on the "edge" of a set children, closest to the spouse. For pedigrees that have only a single connection between two families this simple-minded approach works surprisingly well. For more complex structures either hand-tuning of the hints matrix, or use of the besthint routine will usually be required.

SEE ALSO:

pedigree, besthint