layout.as.tree: Create a tree-style layout for igraph

Description Usage Arguments Value

View source: R/family.tree.R

Description

Creates a layout design for a graph that assumes we are showing a family tree structure. Creates a layout for boxes to be drawn using the allelebox object for each individual.

Usage

1
layout.as.tree(sp, w = 1, h = 1, w.gap = 1, h.gap = 1)

Arguments

sp

Graph created using build.population.graph

w

Width of allelebox

h

Height of allelebox

w.gap

Horizontal gap between boxes in graphical units

h.gap

Vertical gap between boxes in graphical units

Value

The igraph layout


pwhigham/spatibm documentation built on Aug. 30, 2019, 1:16 p.m.