Learn R Programming

bexy (version 0.1.3)

.plotXVsY.bexy: Function to plot X vs Y counts and color them according to BeXY posterior mode

Description

Function to plot X vs Y counts and color them according to BeXY posterior mode

Usage

.plotXVsY.bexy(object, ix_X, ix_Y, colors, sampleNamesToHighlight, label, ...)

Value

No return value, called for side effects.

Arguments

object

A bexy object.

ix_X

An integer representing the index of the scaffold to be plotted on the x-axis.

ix_Y

An integer representing the index of the scaffold to be plotted on the y-axis.

colors

A vector of length three with the colors for aneuploid, XX and XY samples, respectively.

sampleNamesToHighlight

A vector of sample names that should be highlighted. If empty, samples are automatically highlighted based on the posterior probabilities.

label

Boolean indicating whether samples should be labeled.

...

Other parameters used for plotting