Learn R Programming

snplinkage (version 1.2.0)

diamond_annots: Get diamond ggplot layer.

Description

Diamond ggplot layer for ggplot_ld

Usage

diamond_annots(data, x = "x", y = "y", color = "color", size = 0.5)

Value

gglayers

Arguments

data

Data frame of 3 columns defining the diamonds

x

Name of the column for horizontal positions

y

Name of the column for vertical positions

color

Name of the column for color values

size

Radius of the diamonds