plotXY {bexy}R Documentation

Plotting the counts of a bexy object, colored by sex karyotype

Description

Plotting the counts of a bexy object, colored by sex karyotype

Usage

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

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 probabilites.

label

Boolean indicating whether samples should be labeled.

...

Other parameters used for plotting.

Value

No return value, called for side effects.

See Also

bexy

Examples

bex <- bexy()
plotXY(bex)

[Package bexy version 0.1.2 Index]