Learn R Programming

bexy (version 0.1.3)

plotTernary: Plotting the ternary of a bexy object

Description

Plotting the ternary of a bexy object

Usage

plotTernary(
  x,
  colors = c("turquoise3", "darkorange", "royalblue4"),
  sampleNamesToHighlight = c(),
  label = TRUE,
  addSquares = TRUE,
  ...
)

Value

No return value, called for side effects.

Arguments

x

A bexy object.

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.

addSquares

Boolean indicating whether 7-cell posterior probability square plots should be drawn.

...

Other parameters used for plotting.

See Also

bexy

Examples

Run this code
bex <- bexy()
plotTernary(bex)

Run the code above in your browser using DataLab