pedigreeToGraph: Convert pedigree to a graph

Description Usage Arguments Details Value

View source: R/pedigreeToGraph.R

Description

Convert pedigree to a graph

Usage

1

Arguments

pedigree

The pedigree to convert into a graph

Details

It is often useful for visualisation purposes to generate the pedigree graph. In this graph, every genetic line is a vertex in a graph, and there is an edge from every parent to all the offspring. This function generates the graph, and lays the graph out in the plane in a way that tends to make the structure of the graph as clear as possible.

Value

An object of class pedigreeGraph, containing the graph and a planar layout for the graph.


mpMap2 documentation built on Sept. 13, 2020, 5:17 p.m.