compute_lune4: Construct 4-lune region

Description Usage Arguments Value Examples

View source: R/construct_lune4.R

Description

Constructs the 4-lune region for a given size-4 sub-component of an FST

Usage

1
compute_lune4(edges, n = 360)

Arguments

edges

A data frame containing x, y, xend, yend, node1, node2 columns for each of the edges in the FST sub-component

n

The number of points used to construct circles

Value

A data frames containing x and y co-ordinates defining the 4-lune region

Examples

1
construct_lune4(data.frame(x = runif(4), y = runif(4)), n = 100)

marcusvolz/steiner documentation built on April 25, 2018, 12:14 p.m.