Learn R Programming

bexy (version 0.1.3)

.addLegendAutosomalTrisomy.bexy: Function to create a legend for autosomal trisomy

Description

Function to create a legend for autosomal trisomy

Usage

.addLegendAutosomalTrisomy.bexy(x_coord, y_coord, scaffoldName, colors)

Value

No return value, called for side effects.

Arguments

x_coord

The x-coordinate for legend.

y_coord

The y-coordinate for legend.

scaffoldName

The name of the scaffold to plot (has to be an autosome).

colors

A vector of length two with the colors for triploid and diploid samples, respectively.