plot_lune4: Plot 4-lune region

Description Usage Arguments Value Examples

View source: R/plot_lune4.R

Description

Generates data for plotting the 4-lune region for a given size-4 sub-component of an FST

Usage

1
plot_lune4(edges, n = 360, fill = "dodgerBlue")

Arguments

n

The number of points used to construct circles.

fill

The colour of the lune region.

vertices

A data frame containing x and y co-ordinates for the four points.

Value

A list containing data frames for the 4-lune region, terminals and edges, and a plot

Examples

1
plot_lune4(data.frame(x = runif(4), y = runif(4)), n = 100, fill = "dodgerBlue")

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