Creating Medical Pedigrees with PSTricks and LATEX.
Creating Medical Pedigrees with PSTricks and LATEX.
Creating Medical Pedigrees with PSTricks and LATEX.
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
\begin{pspicture}(0,1)(7,7)<br />
\rput(3,4){%<br />
\pstree{\TpstPerson[female, obligatory, belowtext=Ann]{Ann}}{%<br />
\def\psedge{\pstDescent}\psset{descarmA=1}<br />
\pstree{\TpstPerson[male, affected, belowtext=John]{John}}{%<br />
\TpstPerson[female, belowtext=Sue]{Sue}<br />
\TpstPerson[male, belowtext=Paul]{Paul}<br />
\TpstAbortion[affected, belowtext=male]{A1}<br />
\pstree[thislevelsep=1.2]{\TpstPerson[male,<br />
belowtext=Peter, affected, prob<strong>and</strong>]{Peter}}{%<br />
\def\psedge{\ncline}<br />
\TpstChildless[infertile]{C1}<br />
}<br />
}<br />
\pstree{\TpstPerson[female, belowtext=Mary]{Mary}}{<br />
\TpstPerson[female, belowtext=Joan]{Joan}<br />
}<br />
}<br />
}<br />
\pstRelationship[consanguinic]{Peter}{Joan}<br />
\end{pspicture}<br />
Figure 4: Code Producing Figure 3<br />
I:1 I:2<br />
II:1 II:2 II:3 II:4 II:5<br />
III:1 III:2 III:3<br />
4/52<br />
?<br />
III:4 III:5<br />
Figure 5: Example of a Pedigree of a Family With PROMM From [2, p. 48]<br />
16