Description Usage Arguments Details Value
View source: R/pedigreeToGraph.R
Convert pedigree to a graph
1 |
pedigree |
The pedigree to convert into a graph |
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.
An object of class pedigreeGraph
, containing the graph and a planar layout for the graph.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.